mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-29 11:38:52 +02:00
pngcrush: bump version
This commit is contained in:
21
media-gfx/pngcrush/patches/pngcrush-1.7.85.patch
Normal file
21
media-gfx/pngcrush/patches/pngcrush-1.7.85.patch
Normal file
@@ -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
|
||||
@@ -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
|
||||
Reference in New Issue
Block a user