summarylogtreecommitdiffstats
path: root/libpng15.patch
diff options
context:
space:
mode:
authoroberon20072015-09-22 00:55:52 +0200
committeroberon20072015-09-22 00:55:52 +0200
commitc42c8728cefbb91e99d823b9aec5d3af9bd75ff1 (patch)
tree6bf496b9d461de397472df3c74c3778e1c6868a5 /libpng15.patch
downloadaur-cnijfilter-mg4100.tar.gz
new
Diffstat (limited to 'libpng15.patch')
-rw-r--r--libpng15.patch23
1 files changed, 23 insertions, 0 deletions
diff --git a/libpng15.patch b/libpng15.patch
new file mode 100644
index 00000000000..ca808753a92
--- /dev/null
+++ b/libpng15.patch
@@ -0,0 +1,23 @@
+diff -aur old/cnijfilter/src/bjfimage.c new/cnijfilter/src/bjfimage.c
+--- old/cnijfilter/src/bjfimage.c 2011-02-17 02:45:45.000000000 +0100
++++ new/cnijfilter/src/bjfimage.c 2012-03-06 18:34:16.580291794 +0100
+@@ -1520,8 +1520,8 @@
+ short tmpformat;
+ short retbyte = 0;
+ short bpp = 3;
+- long width = 0;
+- long length = 0;
++ png_uint_32 width = 0;
++ png_uint_32 length = 0;
+ long rstep = 0;
+ long RasterLength = 0;
+ long i;
+@@ -1574,7 +1574,7 @@
+ goto onErr;
+ }
+
+- if (setjmp (png_p->jmpbuf))
++ if (setjmp (png_jmpbuf(png_p)))
+ {
+ png_destroy_read_struct(&png_p, &info_p, (png_infopp)NULL);
+ goto onErr;