wok diff udns/receipt @ rev 5946
udns: better fix for GCC 4.5 (thanks Eric)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Aug 03 11:57:55 2010 +0200 (2010-08-03) |
parents | d67788c5a8d3 |
children | 550b6fb3bec5 |
line diff
1.1 --- a/udns/receipt Mon Jul 19 10:44:28 2010 +0200 1.2 +++ b/udns/receipt Tue Aug 03 11:57:55 2010 +0200 1.3 @@ -14,8 +14,8 @@ 1.4 compile_rules() 1.5 { 1.6 cd $src 1.7 - grep -q "gcc (GCC) 4.5.0" configure.lib || 1.8 - sed -i 's/" conftest.c$/&\n [ $? -eq 0 ] || gcc --version | grep -q "gcc (GCC) 4.5.0"/' configure.lib 1.9 + # GCC 4.5 fix 1.10 + sed -i 's/"$@" >/$@ >/' configure.lib 1.11 bash ./configure && make staticlib sharedlib rblcheck_s dnsget_s 1.12 } 1.13