wok 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 77845403d35c
children af32c16e6528
files udns/receipt
line diff
     1.1 --- a/udns/receipt	Tue Aug 03 11:53:41 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