summarylogtreecommitdiffstats
path: root/libpng.patch
diff options
context:
space:
mode:
authorSonic-Y3k2015-07-12 17:57:57 +0200
committerSonic-Y3k2015-07-12 17:57:57 +0200
commit61f215ee68eac26a0715f3bd72110ca34622de91 (patch)
treecc6e359f5af240ef67ff21e8128b75c650e7de18 /libpng.patch
downloadaur-61f215ee68eac26a0715f3bd72110ca34622de91.tar.gz
Initial import
Diffstat (limited to 'libpng.patch')
-rw-r--r--libpng.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/libpng.patch b/libpng.patch
new file mode 100644
index 000000000000..048944c55c10
--- /dev/null
+++ b/libpng.patch
@@ -0,0 +1,22 @@
+--- cnijfilter-source-3.60-1/cnijfilter/src/bjfimage.c 2011-02-17 02:45:45.000000000 +0100
++++ cnijfilter-source-3.60-1.new/cnijfilter/src/bjfimage.c 2013-04-10 21:56:08.217263534 +0200
+@@ -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;