summaryrefslogtreecommitdiff
path: root/patches/ltrace/0.4/100-fix-build-with-exotic-linux-host-OS.patch
diff options
context:
space:
mode:
authorYann E. MORIN" <yann.morin.1998@anciens.enib.fr>2008-10-24 15:40:58 (GMT)
committerYann E. MORIN" <yann.morin.1998@anciens.enib.fr>2008-10-24 15:40:58 (GMT)
commit0c063fad74495afa5f79e51585915dbb71081873 (patch)
treed45f105be593c9bd81c316f96ad531ae114698f4 /patches/ltrace/0.4/100-fix-build-with-exotic-linux-host-OS.patch
parente6abad7e97249ecd4e7b6caee58deeb904e2e308 (diff)
Make ltrace finally build:
- copy sources to build directory, as it does not build out-of-tree - add a patch to make it build for non *-linux-gnu host tuples - add a patch to make it cross-build correctly /trunk/patches/ltrace/0.4/100-fix-build-with-exotic-linux-host-OS.patch | 26 26 0 0 +++ /trunk/patches/ltrace/0.4/110-allow-cross-compile.patch | 89 89 0 0 ++++++++++ /trunk/scripts/build/debug/400-ltrace.sh | 5 3 2 0 + 3 files changed, 118 insertions(+), 2 deletions(-)
Diffstat (limited to 'patches/ltrace/0.4/100-fix-build-with-exotic-linux-host-OS.patch')
-rw-r--r--patches/ltrace/0.4/100-fix-build-with-exotic-linux-host-OS.patch26
1 files changed, 26 insertions, 0 deletions
diff --git a/patches/ltrace/0.4/100-fix-build-with-exotic-linux-host-OS.patch b/patches/ltrace/0.4/100-fix-build-with-exotic-linux-host-OS.patch
new file mode 100644
index 0000000..eba117a
--- /dev/null
+++ b/patches/ltrace/0.4/100-fix-build-with-exotic-linux-host-OS.patch
@@ -0,0 +1,26 @@
+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.