diff options
author | Dirk Meyer <dinoex@FreeBSD.org> | 2012-06-01 05:26:28 +0000 |
---|---|---|
committer | Dirk Meyer <dinoex@FreeBSD.org> | 2012-06-01 05:26:28 +0000 |
commit | 2b74a89bc8342f0b9b737c37d87737caf7b0ea1e (patch) | |
tree | c04604583d8be53b3ed7f10975be828c731f87cb /print/hp2xx/files/patch-png.c | |
parent | - Allow for larger database UIDs (diff) |
- update png to 1.5.10
Notes
Notes:
svn path=/head/; revision=297915
Diffstat (limited to '')
-rw-r--r-- | print/hp2xx/files/patch-png.c | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/print/hp2xx/files/patch-png.c b/print/hp2xx/files/patch-png.c new file mode 100644 index 000000000000..48162b3d7dae --- /dev/null +++ b/print/hp2xx/files/patch-png.c @@ -0,0 +1,19 @@ +--- png.c.orig 2003-06-21 17:31:51.000000000 +0200 ++++ png.c 2012-05-06 06:59:14.000000000 +0200 +@@ -6,6 +6,7 @@ + #include <stdlib.h> + #include "to_png.h" + #include <png.h> ++#include <zlib.h> + + #define PDNCOL 256 + +@@ -36,7 +37,7 @@ + } + + /* set up error handlimg for libpng */ +- if (setjmp(png_ptr->jmpbuf)) { ++ if (setjmp(png_jmpbuf(png_ptr))) { + png_destroy_write_struct(&png_ptr, &info_ptr); + return; + } |