ports/print/ghostscript7/files/patch-src-gdevpng.c
Hiroki Sato 045633a1b8 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
2013-04-29 20:12:16 +00:00

11 lines
372 B
C

--- 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;