# HG changeset patch # User Pascal Bellard # Date 1280829475 -7200 # Node ID fa07e6369363d77388abfe0d9f8bc5b19d448581 # Parent 77845403d35c643d02a9e20c70c782c1da48dd71 udns: better fix for GCC 4.5 (thanks Eric) diff -r 77845403d35c -r fa07e6369363 udns/receipt --- a/udns/receipt Tue Aug 03 11:53:41 2010 +0200 +++ b/udns/receipt Tue Aug 03 11:57:55 2010 +0200 @@ -14,8 +14,8 @@ compile_rules() { cd $src - grep -q "gcc (GCC) 4.5.0" configure.lib || - sed -i 's/" conftest.c$/&\n [ $? -eq 0 ] || gcc --version | grep -q "gcc (GCC) 4.5.0"/' configure.lib + # GCC 4.5 fix + sed -i 's/"$@" >/$@ >/' configure.lib bash ./configure && make staticlib sharedlib rblcheck_s dnsget_s }