patches/ltrace/0.5/100-fix-build-with-exotic-linux-host-OS.patch
changeset 1036 06aecfa2c355
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/patches/ltrace/0.5/100-fix-build-with-exotic-linux-host-OS.patch	Tue Nov 04 18:52:59 2008 +0000
     1.3 @@ -0,0 +1,26 @@
     1.4 +diff -durN ltrace-0.4.orig/configure ltrace-0.4/configure
     1.5 +--- ltrace-0.4.orig/configure	2008-10-23 23:19:38.000000000 +0200
     1.6 ++++ ltrace-0.4/configure	2008-10-23 23:19:06.000000000 +0200
     1.7 +@@ -1392,6 +1392,9 @@
     1.8 + 
     1.9 + 
    1.10 + HOST_OS="$host_os"
    1.11 ++case "${HOST_OS}" in
    1.12 ++  linux-*) HOST_OS=linux-gnu;;
    1.13 ++esac
    1.14 + 
    1.15 + 
    1.16 + ac_ext=c
    1.17 +diff -durN ltrace-0.4.orig/configure.ac ltrace-0.4/configure.ac
    1.18 +--- ltrace-0.4.orig/configure.ac	2008-10-23 23:19:43.000000000 +0200
    1.19 ++++ ltrace-0.4/configure.ac	2008-10-23 23:18:44.000000000 +0200
    1.20 +@@ -7,6 +7,9 @@
    1.21 + dnl Check host system type
    1.22 + AC_CANONICAL_HOST
    1.23 + HOST_OS="$host_os"
    1.24 ++case "${HOST_OS}" in
    1.25 ++  linux-*) HOST_OS=linux-gnu;;
    1.26 ++esac
    1.27 + AC_SUBST(HOST_OS)
    1.28 + 
    1.29 + dnl Checks for programs.