diff options
author | V3n3RiX <venerix@rogentos.ro> | 2016-08-24 10:49:13 +0100 |
---|---|---|
committer | V3n3RiX <venerix@rogentos.ro> | 2016-08-24 10:49:13 +0100 |
commit | a1110ef0ee711656ed124065794a3bfefa3b88bd (patch) | |
tree | d44dcae621611322d8772bed08b2172e41351f68 /net-print/cnijfilter/files/cnijfilter-3.70-png.patch | |
parent | 3a1931e26fcf501e116352d43dc3930eed24710b (diff) |
forgot to add these to the commit
Diffstat (limited to 'net-print/cnijfilter/files/cnijfilter-3.70-png.patch')
-rw-r--r-- | net-print/cnijfilter/files/cnijfilter-3.70-png.patch | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/net-print/cnijfilter/files/cnijfilter-3.70-png.patch b/net-print/cnijfilter/files/cnijfilter-3.70-png.patch new file mode 100644 index 00000000..0e32f236 --- /dev/null +++ b/net-print/cnijfilter/files/cnijfilter-3.70-png.patch @@ -0,0 +1,22 @@ +--- cnijfilter-3.70/cnijfilter/src/bjfimage.c 2011-09-22 04:33:34.000000000 +0200 ++++ cnijfilter-3.70/cnijfilter/src/bjfimage.c 2012-09-15 16:22:38.000000000 +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; |