aboutsummaryrefslogtreecommitdiff
path: root/multimedia/vlc
diff options
context:
space:
mode:
authorDirk Meyer <dinoex@FreeBSD.org>2010-03-28 15:30:42 +0000
committerDirk Meyer <dinoex@FreeBSD.org>2010-03-28 15:30:42 +0000
commitfeda0b054525c11374a230307b15e562c0a93283 (patch)
tree6f315afa63f19ce7b6dad8c8af59d081f04aac6b /multimedia/vlc
parent229fa93d4402b304ee92dd0b17aca68dac95331e (diff)
downloadports-feda0b054525c11374a230307b15e562c0a93283.tar.gz
ports-feda0b054525c11374a230307b15e562c0a93283.zip
- fix build for png-1.4.1
Notes
Notes: svn path=/head/; revision=251642
Diffstat (limited to 'multimedia/vlc')
-rw-r--r--multimedia/vlc/files/patch-modules_codec_png.c20
1 files changed, 20 insertions, 0 deletions
diff --git a/multimedia/vlc/files/patch-modules_codec_png.c b/multimedia/vlc/files/patch-modules_codec_png.c
new file mode 100644
index 000000000000..81ceeac2ea0d
--- /dev/null
+++ b/multimedia/vlc/files/patch-modules_codec_png.c
@@ -0,0 +1,20 @@
+--- modules/codec/png.c.orig 2009-12-20 18:43:39.000000000 +0100
++++ modules/codec/png.c 2010-03-28 17:09:18.000000000 +0200
+@@ -155,7 +155,7 @@
+ p_info = png_create_info_struct( p_png );
+ if( p_info == NULL )
+ {
+- png_destroy_read_struct( &p_png, png_infopp_NULL, png_infopp_NULL );
++ png_destroy_read_struct( &p_png, NULL, NULL );
+ block_Release( p_block ); *pp_block = NULL;
+ return NULL;
+ }
+@@ -163,7 +163,7 @@
+ p_end_info = png_create_info_struct( p_png );
+ if( p_end_info == NULL )
+ {
+- png_destroy_read_struct( &p_png, &p_info, png_infopp_NULL );
++ png_destroy_read_struct( &p_png, &p_info, NULL );
+ block_Release( p_block ); *pp_block = NULL;
+ return NULL;
+ }