wok rev 5903
libvalhalla: fix configure for GCC 4.5.0
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Jul 26 12:02:23 2010 +0200 (2010-07-26) |
parents | 40c1764bd2dd |
children | 41b7536e63f5 |
files | ffmpeg-svn/receipt libvalhalla/receipt |
line diff
1.1 --- a/ffmpeg-svn/receipt Mon Jul 26 00:07:37 2010 +0200 1.2 +++ b/ffmpeg-svn/receipt Mon Jul 26 12:02:23 2010 +0200 1.3 @@ -31,6 +31,8 @@ 1.4 # make busybox compatible or add coreutils-file-format coreutils-file-special in BUILD_DEPENDS if patch/configure fails 1.5 patch -Np1 -i ../../stuff/$PACKAGE-$VERSION-mktemp.patch 1.6 1.7 + # Fix configure for GCC 4.5.0 1.8 + sed -i 's/"\$@" >> \$logfile 2/$@ >> $logfile 2/' configure 1.9 ./configure \ 1.10 --prefix=/usr \ 1.11 --enable-gpl \
2.1 --- a/libvalhalla/receipt Mon Jul 26 00:07:37 2010 +0200 2.2 +++ b/libvalhalla/receipt Mon Jul 26 12:02:23 2010 +0200 2.3 @@ -15,6 +15,8 @@ 2.4 { 2.5 cd $src 2.6 sed -i 's/cat -n/awk '"'"'{ printf "%6d %s\\n",++n,$0 }'"'"' </' configure 2.7 + # Fix configure for GCC 4.5.0 2.8 + sed -i 's/"\$@" >>\$logfile 2/$@ >>$logfile 2/' configure 2.9 ./configure \ 2.10 --prefix=/usr && 2.11 make && make DESTDIR=$PWD/_pkg install