# HG changeset patch # User "Yann E. MORIN" # Date 1252947535 -7200 # Node ID 16a2eaf5fd778a6e3eb5ec6b8ec3e0d3e2a28bdb # Parent 3c916825b28dc1696b28d926a5675a4b57ece433 debug/ltrace: fix build with /exotic/ linux-host OS For ARM EABI hosts (ct-ng's target), the tupple ends in 'gnueabi' For uClibc-based toolchains, the tuple ends in '-uclibc.*' Make ltrace recognise those tuples as being the same as 'linux-gnu' diff -r 3c916825b28d -r 16a2eaf5fd77 patches/ltrace/0.5.2/130-fix-build-with-exotic-linux-host-OS.patch --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/patches/ltrace/0.5.2/130-fix-build-with-exotic-linux-host-OS.patch Mon Sep 14 18:58:55 2009 +0200 @@ -0,0 +1,26 @@ +diff -durN ltrace-0.5.2.orig/configure ltrace-0.5.2/configure +--- ltrace-0.5.2.orig/configure 2009-09-14 18:47:45.000000000 +0200 ++++ ltrace-0.5.2/configure 2009-09-14 18:49:18.000000000 +0200 +@@ -1829,6 +1829,9 @@ + linux-gnu*) host_os=linux-gnu + esac + HOST_OS="$host_os" ++case "${HOST_OS}" in ++ linux-*) HOST_OS=linux-gnu;; ++esac + + + ac_ext=c +diff -durN ltrace-0.5.2.orig/configure.ac ltrace-0.5.2/configure.ac +--- ltrace-0.5.2.orig/configure.ac 2009-09-14 18:47:45.000000000 +0200 ++++ ltrace-0.5.2/configure.ac 2009-09-14 18:49:18.000000000 +0200 +@@ -10,6 +10,9 @@ + linux-gnu*) host_os=linux-gnu + esac + HOST_OS="$host_os" ++case "${HOST_OS}" in ++ linux-*) HOST_OS=linux-gnu;; ++esac + AC_SUBST(HOST_OS) + HOST_ARCH="$host_cpu" + AC_SUBST(HOST_ARCH)