summaryrefslogtreecommitdiff
path: root/graphics/netpbm/patches/patch-aj
diff options
context:
space:
mode:
authortron <tron@pkgsrc.org>2011-01-14 21:51:58 +0000
committertron <tron@pkgsrc.org>2011-01-14 21:51:58 +0000
commit4b6389e26d01dc973655d1c7b4f3a0aef50adf97 (patch)
tree5ab93bb1cb7c8fbb37800d1567ecb358a9b6e167 /graphics/netpbm/patches/patch-aj
parentf6eca4d5299211b953f27d5611c2ba4aa38f1e47 (diff)
downloadpkgsrc-4b6389e26d01dc973655d1c7b4f3a0aef50adf97.tar.gz
Get "pnmtopng" to build with new "png" package. "pngtopnm" still fails.
Diffstat (limited to 'graphics/netpbm/patches/patch-aj')
-rw-r--r--graphics/netpbm/patches/patch-aj16
1 files changed, 16 insertions, 0 deletions
diff --git a/graphics/netpbm/patches/patch-aj b/graphics/netpbm/patches/patch-aj
new file mode 100644
index 00000000000..dd233908dd1
--- /dev/null
+++ b/graphics/netpbm/patches/patch-aj
@@ -0,0 +1,16 @@
+$NetBSD: patch-aj,v 1.13 2011/01/14 21:51:59 tron Exp $
+
+Fix build with png-1.5.
+
+--- converter/other/pngtxt.h.orig 2006-08-19 04:12:28.000000000 +0100
++++ converter/other/pngtxt.h 2011-01-14 21:39:26.000000000 +0000
+@@ -5,7 +5,8 @@
+ #include <png.h>
+
+ void
+-pnmpng_read_text (png_info * const info_ptr,
++pnmpng_read_text (png_struct * png_ptr,
++ png_info * const info_ptr,
+ FILE * const tfp,
+ bool const ztxt,
+ bool const verbose);