summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'media-libs/leptonica/files/leptonica-1.68-pngio.patch')
-rw-r--r--media-libs/leptonica/files/leptonica-1.68-pngio.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/media-libs/leptonica/files/leptonica-1.68-pngio.patch b/media-libs/leptonica/files/leptonica-1.68-pngio.patch
new file mode 100644
index 0000000..eb6b3a8
--- /dev/null
+++ b/media-libs/leptonica/files/leptonica-1.68-pngio.patch
@@ -0,0 +1,12 @@
+*** src/pngio.c 2011-12-05 12:15:10.000000000 +0100
+--- src/pngio.c.new 2011-12-05 12:14:07.000000000 +0100
+***************
+*** 107,112 ****
+--- 107,113 ----
+ /* --------------------------------------------*/
+
+ #include "png.h"
++ #include "zlib.h"
+
+ /* ----------------Set defaults for read/write options ----------------- */
+ /* strip 16 bpp --> 8 bpp on reading png; default is for stripping */