blob: a8af885858be52f7036957c494de7446918a879d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
$NetBSD: patch-src_im__png.h,v 1.1 2011/02/07 01:31:57 wiz Exp $
Fix build with png-1.5.
--- 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 */
|