From caee3f7170fc2701c64d9721c81b6fa9a6c8ec04 Mon Sep 17 00:00:00 2001 From: tnut Date: Thu, 6 May 2010 22:01:24 +0200 Subject: vlc, ajout patch --- extra/vlc/.md5sum | 1 + extra/vlc/Pkgfile | 4 +++- extra/vlc/libpng-1.4.patch | 20 ++++++++++++++++++++ 3 files changed, 24 insertions(+), 1 deletion(-) create mode 100644 extra/vlc/libpng-1.4.patch diff --git a/extra/vlc/.md5sum b/extra/vlc/.md5sum index 263009ccf..7743ebc29 100644 --- a/extra/vlc/.md5sum +++ b/extra/vlc/.md5sum @@ -1 +1,2 @@ +b1961688a9be282a126bfa1cad4b28fa libpng-1.4.patch d3d99e489ba1ae996af7e1065c0ef313 vlc-1.0.5.tar.bz2 diff --git a/extra/vlc/Pkgfile b/extra/vlc/Pkgfile index 49f4f45e8..847413871 100644 --- a/extra/vlc/Pkgfile +++ b/extra/vlc/Pkgfile @@ -7,10 +7,12 @@ name=vlc version=1.0.5 release=1 -source=(http://download.videolan.org/pub/videolan/$name/$version/$name-$version.tar.bz2 ) +source=(http://download.videolan.org/pub/videolan/$name/$version/$name-$version.tar.bz2 \ + libpng-1.4.patch) build() { cd $name-$version + patch -Np1 -i ../libpng-1.4.patch export LDFLAGS_ffmpeg="-lfaad -la52 -lxvidcore -lmp3lame -lx264" ./configure --prefix=/usr \ --enable-dvdread \ diff --git a/extra/vlc/libpng-1.4.patch b/extra/vlc/libpng-1.4.patch new file mode 100644 index 000000000..b0dba0746 --- /dev/null +++ b/extra/vlc/libpng-1.4.patch @@ -0,0 +1,20 @@ +--- vlc-1.0.4/modules/codec/png.c~ 2010-01-19 02:31:45.575326077 +0100 ++++ vlc-1.0.4/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; + } -- cgit v1.2.3-70-g09d2