mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-02 21:18:51 +02:00
pngcrush: bump version.
This commit is contained in:
31
media-gfx/pngcrush/patches/pngcrush-1.7.92.patchset
Normal file
31
media-gfx/pngcrush/patches/pngcrush-1.7.92.patchset
Normal file
@@ -0,0 +1,31 @@
|
||||
From 00097b118a2055f1040370ff92ad97ff3f007349 Mon Sep 17 00:00:00 2001
|
||||
From: Jerome Duval <jerome.duval@gmail.com>
|
||||
Date: Tue, 12 Jan 2016 19:35:11 +0000
|
||||
Subject: haiku patch
|
||||
|
||||
|
||||
diff --git a/pngcrush.c b/pngcrush.c
|
||||
index c049657..de80835 100644
|
||||
--- a/pngcrush.c
|
||||
+++ b/pngcrush.c
|
||||
@@ -6461,6 +6461,8 @@ defined(PNG_READ_STRIP_16_TO_8_SUPPORTED)
|
||||
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,
|
||||
@@ -6482,8 +6484,6 @@ defined(PNG_READ_STRIP_16_TO_8_SUPPORTED)
|
||||
* a png_uint_32, by limiting the width and height used
|
||||
* to 15 bits.
|
||||
*/
|
||||
- png_uint_32 rowbytes;
|
||||
- png_uint_32 h = height;
|
||||
|
||||
/* FIX THIS, does not work with libpng-1.7.0
|
||||
* because info_ptr->bit_depth has not been
|
||||
--
|
||||
2.2.2
|
||||
|
||||
Reference in New Issue
Block a user