patches/ltrace/0.5.3/110-alpha-support.patch
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Fri Oct 08 23:37:12 2010 +0200 (2010-10-08)
branch1.8
changeset 2150 f97a8ad2b172
permissions -rw-r--r--
cc/gcc: fix C++ headers location

In case we build the C++ compiler, we have to tell gcc where to put the C++
headers, or else it will try to # put it in prefix/tuple/include, which we
make a symlink to sysroot/usr/include during the build, and that we delete
(the symlink!) after the build, but gcc will not look in sysroot/usr/inlcude
for C++ headers by default.

Implements a fix suggested by: Bryan Hundven <bryanhundven@gmail.com>

Reported-by: Anthony Foiani <anthony.foiani@gmail.com>
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
(transplanted from a0924619112015bdaa81a0a2313d21ef38607bc2)
jocke@1685
     1
diff -ru ltrace-0.5.3.orig/sysdeps/linux-gnu/Makefile ltrace-0.5.3/sysdeps/linux-gnu/Makefile
jocke@1685
     2
--- ltrace-0.5.3.orig/sysdeps/linux-gnu/Makefile	2009-07-25 17:13:02.000000000 +0200
jocke@1685
     3
+++ ltrace-0.5.3/sysdeps/linux-gnu/Makefile	2010-01-01 22:20:45.000000000 +0100
jocke@1685
     4
@@ -2,6 +2,7 @@
jocke@1685
     5
 				-e s/i.86/i386/ \
jocke@1685
     6
 				-e s/sun4u/sparc64/ \
jocke@1685
     7
 				-e s/sparc64/sparc/ \
jocke@1685
     8
+				-e s/alpha.*/alpha/ \
jocke@1685
     9
 				-e s/arm.*/arm/ \
jocke@1685
    10
 				-e s/sa110/arm/ \
jocke@1685
    11
 				-e s/ppc64/ppc/ \