vlc: add patch for libpng14.
This commit is contained in:
parent
20cf2e6056
commit
f336bbb2e9
2 changed files with 21 additions and 1 deletions
20
srcpkgs/vlc/patches/libpng-1.4.patch
Normal file
20
srcpkgs/vlc/patches/libpng-1.4.patch
Normal file
|
@ -0,0 +1,20 @@
|
|||
--- modules/codec/png.c~ 2010-01-19 02:31:45.575326077 +0100
|
||||
+++ modules/codec/png.c 2010-01-19 02:32:21.465321175 +0100
|
||||
@@ -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;
|
||||
}
|
|
@ -150,7 +150,7 @@ pre_configure()
|
|||
# hostname -s is not valid, at least in coreutils!
|
||||
sed -i "s|hostname -s|hostname|g" ${wrksrc}/configure || return 1
|
||||
# Use wc(1) from coreutils
|
||||
export PATH="/bin:$PATH"
|
||||
export PATH="/usr/bin:/bin:$PATH"
|
||||
}
|
||||
|
||||
post_install()
|
||||
|
|
Loading…
Reference in a new issue