summaryrefslogtreecommitdiff
path: root/graphics/netpbm/patches/patch-aj
blob: 08eecac5aee27c732d20d63804f1b4498dff6028 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
$NetBSD: patch-aj,v 1.14 2014/08/25 08:23:22 wiz Exp $

Fix build with png-1.5.
Already included in Advanced release.

--- 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);