patches/ltrace/0.5.3/110-alpha-support.patch
author Remy Bohmer <linux@bohmer.net>
Sun Jul 11 22:23:34 2010 +0200 (2010-07-11)
changeset 2021 3e52a1510f87
permissions -rw-r--r--
debug/gdb: Fix compilation for Mingw hosts

GDB requires PDcurses instead of ncurses while running on Windows.
So, do not always compile ncurses in case GDB needs to build.

PDcurses is provided by an earlier build step and is not described in
this file.

Signed-off-by: Remy Bohmer <linux@bohmer.net>
[yann.morin.1998@anciense.nib.fr: we already have a way to detect ncurses usage]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
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/ \