summaryrefslogtreecommitdiff
path: root/print/ghostscript7/files/patch-src-gdevpng.c
diff options
context:
space:
mode:
authorHiroki Sato <hrs@FreeBSD.org>2013-04-29 20:12:16 +0000
committerHiroki Sato <hrs@FreeBSD.org>2013-04-29 20:12:16 +0000
commit045633a1b8b9a93da39276c44d8313ec66a07545 (patch)
treeb668622bec03cea02602798988a5ed72533143b2 /print/ghostscript7/files/patch-src-gdevpng.c
parentUpdate to 3.6.3 (diff)
Resurrect print/ghostscript7*. Ghostscript 7.x is incompatible with 8.x
and 9.x in terms of CJK character support and they are still in demand. While I am here, the following changes have been added: - Add LICENSE. - Use OPTIONS_DEFINE for ghostscript drivers. - Add MAKE_JOBS_SAFE=yes. Discussed with: bapt
Notes
Notes: svn path=/head/; revision=316845
Diffstat (limited to 'print/ghostscript7/files/patch-src-gdevpng.c')
-rw-r--r--print/ghostscript7/files/patch-src-gdevpng.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/print/ghostscript7/files/patch-src-gdevpng.c b/print/ghostscript7/files/patch-src-gdevpng.c
new file mode 100644
index 000000000000..697f6c71ff7d
--- /dev/null
+++ b/print/ghostscript7/files/patch-src-gdevpng.c
@@ -0,0 +1,11 @@
+--- src/gdevpng.c.orig 2003-05-15 12:05:29.000000000 +0200
++++ src/gdevpng.c 2012-04-27 20:17:30.000000000 +0200
+@@ -258,7 +258,7 @@
+ goto done;
+ }
+ /* set error handling */
+- if (setjmp(png_ptr->jmpbuf)) {
++ if (setjmp(png_jmpbuf(png_ptr))) {
+ /* If we get here, we had a problem reading the file */
+ code = gs_note_error(gs_error_VMerror);
+ goto done;