summarylogtreecommitdiffstats
path: root/libpng15.patch
diff options
context:
space:
mode:
authorDaniel Hillenbrand2015-06-14 05:27:31 +0100
committerDaniel Hillenbrand2015-06-14 05:27:31 +0100
commitde1b3b2751d36417e5ad1cb92302189518a0451d (patch)
treee592ea3dec4d67d8ea8cb2d8009188b7676da6ce /libpng15.patch
downloadaur-cnijfilter-mp560.tar.gz
import from AUR
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 000000000000..f5b3a1b13db5
--- /dev/null
+++ b/libpng15.patch
@@ -0,0 +1,23 @@
+diff -aur cnijfilter-source-3.20-1/cnijfilter/src/bjfimage.c cnijfilter-source-3.20-1.new/cnijfilter/src/bjfimage.c
+--- cnijfilter-source-3.20-1/cnijfilter/src/bjfimage.c 2009-03-26 06:11:05.000000000 +0100
++++ cnijfilter-source-3.20-1.new/cnijfilter/src/bjfimage.c 2012-02-10 09:33:52.512334139 +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;