summarylogtreecommitdiffstats
path: root/libpng15.patch
diff options
context:
space:
mode:
authorLopo2015-06-17 20:07:06 +0200
committerLopo2015-06-17 20:07:06 +0200
commit29d706eb65d8e7ac63d92e628a69fd937260164d (patch)
treed1663bb9c4b29734d6c6af4d569376f496581c62 /libpng15.patch
downloadaur-29d706eb65d8e7ac63d92e628a69fd937260164d.tar.gz
Initial import
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..ca808753a921
--- /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;