summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'media-gfx/apngdis/files/apngdis-2.9-zlib.patch')
-rw-r--r--media-gfx/apngdis/files/apngdis-2.9-zlib.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/media-gfx/apngdis/files/apngdis-2.9-zlib.patch b/media-gfx/apngdis/files/apngdis-2.9-zlib.patch
new file mode 100644
index 000000000000..d9ce01007cfb
--- /dev/null
+++ b/media-gfx/apngdis/files/apngdis-2.9-zlib.patch
@@ -0,0 +1,12 @@
+Drop unused zlib header.
+
+--- apngdis-2.9-src/apngdis.cpp
++++ apngdis-2.9-src/apngdis.cpp
+@@ -32,7 +32,6 @@
+ #include <string.h>
+ #include <vector>
+ #include "png.h" /* original (unpatched) libpng is ok */
+-#include "zlib.h"
+
+ #define notabc(c) ((c) < 65 || (c) > 122 || ((c) > 90 && (c) < 97))
+