crosstool-ng/patches/ltrace/0.5/100-fix-build-with-exotic-linux-host-OS.patch
Yann E. MORIN" fd8f312091 Update ltrace to ltrace-0.5 + fixes from Debian ltrace-0.5-3.1.
/trunk/patches/ltrace/0.5/130-fixes-by-debian.patch     |  812   812     0     0 +++++++++++++++++++++++
 /trunk/patches/ltrace/0.5/110-allow-cross-compile.patch |   26    13    13     0
 /trunk/config/debug/ltrace.in                           |    5     5     0     0 +
 3 files changed, 830 insertions(+), 13 deletions(-)
2008-11-04 18:52:59 +00:00

27 lines
692 B
Diff

diff -durN ltrace-0.4.orig/configure ltrace-0.4/configure
--- ltrace-0.4.orig/configure 2008-10-23 23:19:38.000000000 +0200
+++ ltrace-0.4/configure 2008-10-23 23:19:06.000000000 +0200
@@ -1392,6 +1392,9 @@
HOST_OS="$host_os"
+case "${HOST_OS}" in
+ linux-*) HOST_OS=linux-gnu;;
+esac
ac_ext=c
diff -durN ltrace-0.4.orig/configure.ac ltrace-0.4/configure.ac
--- ltrace-0.4.orig/configure.ac 2008-10-23 23:19:43.000000000 +0200
+++ ltrace-0.4/configure.ac 2008-10-23 23:18:44.000000000 +0200
@@ -7,6 +7,9 @@
dnl Check host system type
AC_CANONICAL_HOST
HOST_OS="$host_os"
+case "${HOST_OS}" in
+ linux-*) HOST_OS=linux-gnu;;
+esac
AC_SUBST(HOST_OS)
dnl Checks for programs.