diff options
Diffstat (limited to 'print/ghostscript8/files')
-rw-r--r-- | print/ghostscript8/files/patch-base-gdevpng.c | 11 | ||||
-rw-r--r-- | print/ghostscript8/files/patch-base-png_.h | 9 |
2 files changed, 20 insertions, 0 deletions
diff --git a/print/ghostscript8/files/patch-base-gdevpng.c b/print/ghostscript8/files/patch-base-gdevpng.c new file mode 100644 index 000000000000..e60b57eb8ec1 --- /dev/null +++ b/print/ghostscript8/files/patch-base-gdevpng.c @@ -0,0 +1,11 @@ +--- base/gdevpng.c.orig 2008-07-17 04:34:01.000000000 +0200 ++++ base/gdevpng.c 2012-04-27 20:19:52.000000000 +0200 +@@ -280,7 +280,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; diff --git a/print/ghostscript8/files/patch-base-png_.h b/print/ghostscript8/files/patch-base-png_.h new file mode 100644 index 000000000000..f41e1f171439 --- /dev/null +++ b/print/ghostscript8/files/patch-base-png_.h @@ -0,0 +1,9 @@ +--- base/png_.h.orig 2007-06-06 00:23:38.000000000 +0200 ++++ base/png_.h 2012-04-27 19:31:55.000000000 +0200 +@@ -22,5 +22,6 @@ + #else + #include "png.h" + #endif ++#include "pngpriv.h" + + #endif /* png__INCLUDED */ |