summaryrefslogtreecommitdiff
path: root/multimedia/gpac/patches
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2010-06-13 22:43:46 +0000
committerwiz <wiz@pkgsrc.org>2010-06-13 22:43:46 +0000
commit92e0cb52cb783546e352182244f761180817e141 (patch)
tree4a9b97c2969a25f1eeb6596ee96fc25429cef7d5 /multimedia/gpac/patches
parent01bd00f60b043c603cfe4fa796bf28af3a849cca (diff)
downloadpkgsrc-92e0cb52cb783546e352182244f761180817e141.tar.gz
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.
Diffstat (limited to 'multimedia/gpac/patches')
-rw-r--r--multimedia/gpac/patches/patch-ad13
1 files changed, 13 insertions, 0 deletions
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;
+ }
+