From 92e0cb52cb783546e352182244f761180817e141 Mon Sep 17 00:00:00 2001 From: wiz Date: Sun, 13 Jun 2010 22:43:46 +0000 Subject: Bump PKGREVISION for libpng shlib name change. Also add some patches to remove use of deprecated symbols and fix other problems when looking for or compiling against libpng-1.4.x. --- multimedia/gpac/patches/patch-ad | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 multimedia/gpac/patches/patch-ad (limited to 'multimedia/gpac/patches') diff --git a/multimedia/gpac/patches/patch-ad b/multimedia/gpac/patches/patch-ad new file mode 100644 index 00000000000..deaf3f15223 --- /dev/null +++ b/multimedia/gpac/patches/patch-ad @@ -0,0 +1,13 @@ +$NetBSD: patch-ad,v 1.1 2010/06/13 22:45:05 wiz Exp $ + +--- src/media_tools/img.c.orig 2008-12-01 17:39:36.000000000 +0000 ++++ src/media_tools/img.c +@@ -551,7 +551,7 @@ GF_Err gf_img_png_enc(char *data, u32 wi + /* Allocate/initialize the image information data. REQUIRED */ + info_ptr = png_create_info_struct(png_ptr); + if (info_ptr == NULL) { +- png_destroy_write_struct(&png_ptr, png_infopp_NULL); ++ png_destroy_write_struct(&png_ptr, NULL); + return GF_IO_ERR; + } + -- cgit v1.2.3