diff options
Diffstat (limited to 'comms/pilot-link/patches/patch-ah')
-rw-r--r-- | comms/pilot-link/patches/patch-ah | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/comms/pilot-link/patches/patch-ah b/comms/pilot-link/patches/patch-ah new file mode 100644 index 00000000000..6fe4137c590 --- /dev/null +++ b/comms/pilot-link/patches/patch-ah @@ -0,0 +1,26 @@ +$NetBSD: patch-ah,v 1.1 2010/06/19 13:29:24 wiz Exp $ + +--- src/pilot-read-veo.c.orig 2009-06-04 13:26:19.000000000 +0000 ++++ src/pilot-read-veo.c +@@ -41,10 +41,6 @@ + + #ifdef HAVE_PNG + # include "png.h" +-# if (PNG_LIBPNG_VER < 10201) +-# define png_voidp_NULL (png_voidp)NULL +-# define png_error_ptr_NULL (png_error_ptr)NULL +-# endif + #endif + + #define pi_mktag(c1,c2,c3,c4) (((c1)<<24)|((c2)<<16)|((c3)<<8)|(c4)) +@@ -856,8 +852,8 @@ void write_png (FILE * f, struct Veo *v, + png_infop info_ptr; + + png_ptr = png_create_write_struct +- (PNG_LIBPNG_VER_STRING, png_voidp_NULL, +- png_error_ptr_NULL, png_error_ptr_NULL); ++ (PNG_LIBPNG_VER_STRING, NULL, ++ NULL, NULL); + + if (!png_ptr) + return; |