# HG changeset patch # User Antoine Bodin <gokhlayeh@slitaz.org> # Date 1324118541 -3600 # Node ID f036f9b0902f4b90bb78fb3576a49979096146d8 # Parent 5e32c7dc09748f68b8dd8022cc8e5ebac2d65e26 libvalhalla: fix build diff -r 5e32c7dc0974 -r f036f9b0902f libvalhalla/receipt --- a/libvalhalla/receipt Sat Dec 17 11:42:21 2011 +0100 +++ b/libvalhalla/receipt Sat Dec 17 11:42:21 2011 +0100 @@ -15,6 +15,10 @@ compile_rules() { cd $src + + # Fix build with curl >= 7.21.2 + sed -i '/#include <curl\/types.h>/d' src/url_utils.c + sed -i 's/cat -n/awk '"'"'{ printf "%6d %s\\n",++n,$0 }'"'"' </' configure # Fix configure for GCC 4.5.0 sed -i 's/"\$@" >>\$logfile 2/$@ >>$logfile 2/' configure