patches/ltrace/0.5.2/110-alpha-support.patch
author Richard Strand <richard.strand@icomera.com>
Sun Jan 10 15:19:25 2010 +0000 (2010-01-10)
changeset 1720 3995b34ba925
parent 1262 e3574ccecb6d
permissions -rw-r--r--
scrips/functions: fix downloads using curl

By default curl doesn't folow redirects. This breaks sourceforge downloads.
Add the -L option to curl to fix this.

Curl also downloads the html as a file even when it gets a 404. This breaks
http downloads when using the failback system. Add the -f option to curl to fix
this.

Signed-off-by: Richard Strand <richard.strand@icomera.com>
yann@1437
     1
diff -durN ltrace-0.5.2.orig/Makefile.in ltrace-0.5.2/Makefile.in
yann@1437
     2
--- ltrace-0.5.2.orig/Makefile.in	2009-06-27 15:34:04.000000000 +0200
yann@1437
     3
+++ ltrace-0.5.2/Makefile.in	2009-06-27 15:34:27.000000000 +0200
yann@1262
     4
@@ -5,6 +5,7 @@
yann@1262
     5
 OS		:= @HOST_OS@
yann@1262
     6
 ARCH		:= $(shell echo "@HOST_ARCH@" |sed -e s/i.86/i386/      \
yann@1262
     7
 						   -e s/sun4u/sparc64/  \
yann@1262
     8
+						   -e s/alpha.*/alpha/  \
yann@1262
     9
 						   -e s/arm.*/arm/      \
yann@1262
    10
 						   -e s/sa110/arm/      \
yann@1262
    11
 						   -e s/ppc64/ppc/      \