diff options
author | dinoex <dinoex@FreeBSD.org> | 2010-03-28 23:30:42 +0800 |
---|---|---|
committer | dinoex <dinoex@FreeBSD.org> | 2010-03-28 23:30:42 +0800 |
commit | 07d04d53f0ea80abbc5009656a0ba3b08fddbce2 (patch) | |
tree | ff6d0ce81f9fe947032f55d4e381b0018c86ee2f /multimedia/vlc | |
parent | 48aff270063cb4e64ff6a0a5dd710fab66c21e83 (diff) | |
download | freebsd-ports-gnome-07d04d53f0ea80abbc5009656a0ba3b08fddbce2.tar.gz freebsd-ports-gnome-07d04d53f0ea80abbc5009656a0ba3b08fddbce2.tar.zst freebsd-ports-gnome-07d04d53f0ea80abbc5009656a0ba3b08fddbce2.zip |
- fix build for png-1.4.1
Diffstat (limited to 'multimedia/vlc')
-rw-r--r-- | multimedia/vlc/files/patch-modules_codec_png.c | 20 |
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; + } |