pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/graphics/pngcrush



Module Name:    pkgsrc
Committed By:   wiz
Date:           Thu Feb  1 09:14:54 UTC 2024

Modified Files:
        pkgsrc/graphics/pngcrush: distinfo
Added Files:
        pkgsrc/graphics/pngcrush/patches: patch-pngcrush.c

Log Message:
pngcrush: fix build with png 1.6.42


To generate a diff of this commit:
cvs rdiff -u -r1.71 -r1.72 pkgsrc/graphics/pngcrush/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/graphics/pngcrush/patches/patch-pngcrush.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/graphics/pngcrush/distinfo
diff -u pkgsrc/graphics/pngcrush/distinfo:1.71 pkgsrc/graphics/pngcrush/distinfo:1.72
--- pkgsrc/graphics/pngcrush/distinfo:1.71      Tue Oct 26 10:46:42 2021
+++ pkgsrc/graphics/pngcrush/distinfo   Thu Feb  1 09:14:53 2024
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.71 2021/10/26 10:46:42 nia Exp $
+$NetBSD: distinfo,v 1.72 2024/02/01 09:14:53 wiz Exp $
 
 BLAKE2s (pngcrush-1.8.13-nolib.tar.xz) = 98e545ff71d87100175ace35f33782bc450999791ec327cd77a1b27525e9fc0c
 SHA512 (pngcrush-1.8.13-nolib.tar.xz) = c073d573e9b13b72fa39b178271ce65d1a19fef35943ef0a9e6121a5c66d9db212aaad38ab777c5b44e20a107eb677003acbdb4a354bcb2dc40f535a97d9df0e
 Size (pngcrush-1.8.13-nolib.tar.xz) = 66104 bytes
+SHA1 (patch-pngcrush.c) = fcaa71b2fe1bc17b491cadf47ea24507588a95d7

Added files:

Index: pkgsrc/graphics/pngcrush/patches/patch-pngcrush.c
diff -u /dev/null pkgsrc/graphics/pngcrush/patches/patch-pngcrush.c:1.1
--- /dev/null   Thu Feb  1 09:14:54 2024
+++ pkgsrc/graphics/pngcrush/patches/patch-pngcrush.c   Thu Feb  1 09:14:54 2024
@@ -0,0 +1,16 @@
+$NetBSD: patch-pngcrush.c,v 1.1 2024/02/01 09:14:54 wiz Exp $
+
+PNG_IGNORE_ADLER32 was deprecated in png-1.6.42
+https://github.com/pnggroup/libpng/pull/514
+
+--- pngcrush.c.orig    2024-02-01 09:09:19.207140753 +0000
++++ pngcrush.c
+@@ -5520,8 +5520,6 @@ int main(int argc, char *argv[])
+                      * they were already checked in the pngcrush_measure_idat
+                      * function
+                      */
+-                    png_set_option(read_ptr, PNG_IGNORE_ADLER32,
+-                        PNG_OPTION_ON);
+                     png_set_crc_action(read_ptr, PNG_CRC_QUIET_USE,
+                                        PNG_CRC_QUIET_USE);
+                 }



Home | Main Index | Thread Index | Old Index