summaryrefslogtreecommitdiff
path: root/graphics/netpbm/patches/patch-aj
blob: dd233908dd19f7f6af9c6e9e4457950bcd05112d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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);