summaryrefslogtreecommitdiff
path: root/graphics/gtksee/patches/patch-src_im__png.h
blob: f78e909de68b0ba908f229f90f9addbe6f2df1d3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
$NetBSD: patch-src_im__png.h,v 1.2 2011/02/14 19:16:14 wiz Exp $

Fix build with png-1.5.
http://developer.berlios.de/patch/?func=detailpatch&patch_id=3131&group_id=735

--- src/im_png.h.orig	2004-02-14 15:16:33.000000000 +0000
+++ src/im_png.h
@@ -31,7 +31,7 @@
 
 typedef	gboolean	(*PngLoadFunc)		(guchar *buffer, gint width, gint left, gint scanline, gint components, gint pass, gint mode);
 
-gboolean	png_get_header		(gchar *filename, png_info *info);
+gboolean	png_get_header		(gchar *filename, gint *, gint *, png_bytep);
 gboolean	png_load		(gchar *filename, PngLoadFunc func);
 
 #endif /* HAVE_LIBPNG */