summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'media-gfx/pngnq/files/pngnq-1.0-libpng15.patch')
-rw-r--r--media-gfx/pngnq/files/pngnq-1.0-libpng15.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/media-gfx/pngnq/files/pngnq-1.0-libpng15.patch b/media-gfx/pngnq/files/pngnq-1.0-libpng15.patch
new file mode 100644
index 000000000000..7590431dcd3a
--- /dev/null
+++ b/media-gfx/pngnq/files/pngnq-1.0-libpng15.patch
@@ -0,0 +1,13 @@
+--- src/rwpng.c
++++ src/rwpng.c
+@@ -31,8 +31,9 @@
+
+ #include <stdio.h>
+ #include <stdlib.h>
++#include <zlib.h>
+
+-#include "png.h" /* libpng header; includes zlib.h */
++#include "png.h" /* libpng header */
+ #include "rwpng.h" /* typedefs, common macros, public prototypes */
+
+ /* future versions of libpng will provide this macro: */