summaryrefslogtreecommitdiff
path: root/graphics/netpbm/files/patch-pngtxt.h
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/netpbm/files/patch-pngtxt.h')
-rw-r--r--graphics/netpbm/files/patch-pngtxt.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/graphics/netpbm/files/patch-pngtxt.h b/graphics/netpbm/files/patch-pngtxt.h
new file mode 100644
index 000000000000..efdb6d1d81b0
--- /dev/null
+++ b/graphics/netpbm/files/patch-pngtxt.h
@@ -0,0 +1,16 @@
+$OpenBSD: patch-converter_other_pngtxt_h,v 1.1 2011/07/08 20:36:09 naddy Exp $
+
+Fix build with png-1.5.
+
+--- converter/other/pngtxt.h.orig Fri Aug 18 21:12:28 2006
++++ converter/other/pngtxt.h Mon Jul 4 14:21:23 2011
+@@ -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);