diff options
author | tnut <thierryn1 at hispeed dot ch> | 2010-05-06 22:01:24 +0200 |
---|---|---|
committer | tnut <thierryn1 at hispeed dot ch> | 2010-05-06 22:01:24 +0200 |
commit | caee3f7170fc2701c64d9721c81b6fa9a6c8ec04 (patch) | |
tree | bdddc1a38e5cf40596e787ead61a974b17ef9836 | |
parent | ab36bcb38823ee3c13b25fb59806452008b6c2f8 (diff) | |
download | nutyx-pakxe-caee3f7170fc2701c64d9721c81b6fa9a6c8ec04.tar.gz nutyx-pakxe-caee3f7170fc2701c64d9721c81b6fa9a6c8ec04.tar.bz2 nutyx-pakxe-caee3f7170fc2701c64d9721c81b6fa9a6c8ec04.tar.xz nutyx-pakxe-caee3f7170fc2701c64d9721c81b6fa9a6c8ec04.zip |
vlc, ajout patch
-rw-r--r-- | extra/vlc/.md5sum | 1 | ||||
-rw-r--r-- | extra/vlc/Pkgfile | 4 | ||||
-rw-r--r-- | extra/vlc/libpng-1.4.patch | 20 |
3 files changed, 24 insertions, 1 deletions
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; + } |