From 56134531cd0d2284dc494f414d4e68bd69e01b1b Mon Sep 17 00:00:00 2001 From: Jerome Duval Date: Tue, 9 Jun 2015 13:02:53 +0000 Subject: [PATCH] pngcrush: bump version --- .../pngcrush/patches/pngcrush-1.7.85.patch | 21 +++++++++++++++++++ ...h-1.7.81.recipe => pngcrush-1.7.85.recipe} | 2 +- 2 files changed, 22 insertions(+), 1 deletion(-) create mode 100644 media-gfx/pngcrush/patches/pngcrush-1.7.85.patch rename media-gfx/pngcrush/{pngcrush-1.7.81.recipe => pngcrush-1.7.85.recipe} (93%) diff --git a/media-gfx/pngcrush/patches/pngcrush-1.7.85.patch b/media-gfx/pngcrush/patches/pngcrush-1.7.85.patch new file mode 100644 index 000000000..215fca135 --- /dev/null +++ b/media-gfx/pngcrush/patches/pngcrush-1.7.85.patch @@ -0,0 +1,21 @@ +diff -up pngcrush-1.7.67-nolib/pngcrush.c.orig pngcrush-1.7.67-nolib/pngcrush.c +--- pngcrush-1.7.67-nolib/pngcrush.c.orig 2013-10-15 00:27:02.442236928 -0600 ++++ pngcrush-1.7.67-nolib/pngcrush.c 2013-10-15 00:27:50.849084416 -0600 +@@ -6146,6 +6146,8 @@ int main(int argc, char *argv[]) + png_uint_32 zbuf_size; + png_uint_32 required_window; + int channels = 0; ++ png_uint_32 rowbytes; ++ png_uint_32 h = height; + png_set_compression_strategy(write_ptr, + z_strategy); + png_set_compression_mem_level(write_ptr, +@@ -6167,8 +6169,6 @@ int main(int argc, char *argv[]) + * a png_uint_32, by limiting the width and height used + * to 15 bits. + */ +- png_uint_32 rowbytes; +- png_uint_32 h = height; + + rowbytes = png_get_rowbytes(read_ptr, read_info_ptr); + #ifndef PNGCRUSH_H diff --git a/media-gfx/pngcrush/pngcrush-1.7.81.recipe b/media-gfx/pngcrush/pngcrush-1.7.85.recipe similarity index 93% rename from media-gfx/pngcrush/pngcrush-1.7.81.recipe rename to media-gfx/pngcrush/pngcrush-1.7.85.recipe index 275a63889..711cb3181 100644 --- a/media-gfx/pngcrush/pngcrush-1.7.81.recipe +++ b/media-gfx/pngcrush/pngcrush-1.7.85.recipe @@ -9,7 +9,7 @@ gAMA, tRNS, iCCP, and textual chunks. " HOMEPAGE="http://pmt.sourceforge.net/pngcrush/" SRC_URI="http://sourceforge.net/projects/pmt/files/pngcrush/$portVersion/pngcrush-$portVersion-nolib.tar.xz" -CHECKSUM_SHA256="37a8d0097b5f1e8eedf99caf2db899b9496a4324bd21a4cfd8d19e69e5047163" +CHECKSUM_SHA256="296cef699cac7b23c02f5458e4fd7fe3b07ee4748a69928c7d51743198f56cc3" REVISION="1" LICENSE="LibPNG" COPYRIGHT="1998-2009 Glenn Randers-Pehrson