summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'media-gfx/pngcrush/files/pngcrush-1.8.13-adler32_check.patch')
-rw-r--r--media-gfx/pngcrush/files/pngcrush-1.8.13-adler32_check.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/media-gfx/pngcrush/files/pngcrush-1.8.13-adler32_check.patch b/media-gfx/pngcrush/files/pngcrush-1.8.13-adler32_check.patch
new file mode 100644
index 000000000000..60204718154f
--- /dev/null
+++ b/media-gfx/pngcrush/files/pngcrush-1.8.13-adler32_check.patch
@@ -0,0 +1,13 @@
+--- a/pngcrush.c
++++ b/pngcrush.c
+@@ -5520,8 +5520,10 @@
+ * they were already checked in the pngcrush_measure_idat
+ * function
+ */
++# ifdef PNG_IGNORE_ADLER32
+ png_set_option(read_ptr, PNG_IGNORE_ADLER32,
+ PNG_OPTION_ON);
++# endif
+ png_set_crc_action(read_ptr, PNG_CRC_QUIET_USE,
+ PNG_CRC_QUIET_USE);
+ }