summaryrefslogtreecommitdiff
path: root/graphics/netpbm/patches/patch-aj
diff options
context:
space:
mode:
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);