diff --git a/media-gfx/pngcrush/patches/pngcrush-1.8.10.patchset b/media-gfx/pngcrush/patches/pngcrush-1.8.11.patchset similarity index 87% rename from media-gfx/pngcrush/patches/pngcrush-1.8.10.patchset rename to media-gfx/pngcrush/patches/pngcrush-1.8.11.patchset index 88032268f..9764135a4 100644 --- a/media-gfx/pngcrush/patches/pngcrush-1.8.10.patchset +++ b/media-gfx/pngcrush/patches/pngcrush-1.8.11.patchset @@ -5,10 +5,10 @@ Subject: haiku patch diff --git a/pngcrush.c b/pngcrush.c -index 6bc89a2..9afa3bd 100644 +index 93e27ec..c782e1f 100644 --- a/pngcrush.c +++ b/pngcrush.c -@@ -7043,6 +7043,8 @@ defined(PNG_READ_STRIP_16_TO_8_SUPPORTED) +@@ -7059,6 +7059,8 @@ defined(PNG_READ_STRIP_16_TO_8_SUPPORTED) png_uint_32 zbuf_size; png_uint_32 required_window; int channels = 0; @@ -17,7 +17,7 @@ index 6bc89a2..9afa3bd 100644 png_set_compression_strategy(write_ptr, z_strategy); png_set_compression_mem_level(write_ptr, -@@ -7064,8 +7066,6 @@ defined(PNG_READ_STRIP_16_TO_8_SUPPORTED) +@@ -7080,8 +7082,6 @@ defined(PNG_READ_STRIP_16_TO_8_SUPPORTED) * a png_uint_32, by limiting the width and height used * to 15 bits. */ diff --git a/media-gfx/pngcrush/pngcrush-1.8.10.recipe b/media-gfx/pngcrush/pngcrush-1.8.11.recipe similarity index 75% rename from media-gfx/pngcrush/pngcrush-1.8.10.recipe rename to media-gfx/pngcrush/pngcrush-1.8.11.recipe index 7d67d63d8..b1c403ba8 100644 --- a/media-gfx/pngcrush/pngcrush-1.8.10.recipe +++ b/media-gfx/pngcrush/pngcrush-1.8.11.recipe @@ -6,12 +6,12 @@ datastream by trying various compression levels and PNG filter methods. It \ also can be used to remove unwanted ancillary chunks, or to add certain chunks \ including gAMA, tRNS, iCCP, and textual chunks." HOMEPAGE="http://pmt.sourceforge.net/pngcrush/" -COPYRIGHT="1998-2002, 2006-2016 Glenn Randers-Pehrson +COPYRIGHT="1998-2002, 2006-2017 Glenn Randers-Pehrson 2005 Greg Roelofs" LICENSE="LibPNG" REVISION="1" -SOURCE_URI="http://downloads.sf.net/pmt/pngcrush-$portVersion-nolib.tar.gz" -CHECKSUM_SHA256="4d6818929fcfa41c35c868ff422885c22e04546e621495ff121aeee2f7887fb1" +SOURCE_URI="https://downloads.sf.net/pmt/pngcrush-$portVersion-nolib.tar.gz" +CHECKSUM_SHA256="df5a4fc7b9029bc6991d531c44ccce59a97a2137010416ad6910312bebce79b0" SOURCE_DIR="pngcrush-$portVersion-nolib" PATCHES="pngcrush-$portVersion.patchset" @@ -45,7 +45,7 @@ BUILD() INSTALL() { - install -d -m 755 $binDir $docDir - install -t $binDir -c -m 555 -s pngcrush - install -t $docDir -c -m 444 LICENSE + install -d $binDir $docDir + install -t $binDir -s pngcrush + install -t $docDir -m 444 LICENSE }