summaryrefslogtreecommitdiff
path: root/packages/ltrace/0.5.3/200-configure-hostos.patch
diff options
context:
space:
mode:
authorAlexey Neyman <stilor@att.net>2017-07-13 07:38:03 (GMT)
committerGitHub <noreply@github.com>2017-07-13 07:38:03 (GMT)
commit45c5bb0f484cba724be2c6105801dcce9a1a82d9 (patch)
tree8fd1c8eaa2ef203009d72b6ca6348611dcc5ee1c /packages/ltrace/0.5.3/200-configure-hostos.patch
parent8f8e131d566af1f577d8fb6e62e6f121b7955472 (diff)
parentb32fcf7c1eea890a2bd3f88487f818ba241aabb1 (diff)
Merge pull request #767 from stilor/packages
Packages
Diffstat (limited to 'packages/ltrace/0.5.3/200-configure-hostos.patch')
-rw-r--r--packages/ltrace/0.5.3/200-configure-hostos.patch18
1 files changed, 18 insertions, 0 deletions
diff --git a/packages/ltrace/0.5.3/200-configure-hostos.patch b/packages/ltrace/0.5.3/200-configure-hostos.patch
new file mode 100644
index 0000000..36563f4
--- /dev/null
+++ b/packages/ltrace/0.5.3/200-configure-hostos.patch
@@ -0,0 +1,18 @@
+diff -ru ltrace-0.5.3.org/configure ltrace-0.5.3/configure
+--- ltrace-0.5.3.org/configure 2011-08-21 18:55:15.000000000 +0200
++++ ltrace-0.5.3/configure 2011-08-21 18:54:46.000000000 +0200
+@@ -15,8 +15,12 @@
+ echo $PACKAGE_VERSION
+
+ echo -n "checking HOST_OS... "
+-HOST_OS=$( uname -s )
+-if [ "$HOST_OS" = "Linux" ]
++if [ -z "$HOST_OS" ] ; then
++ HOST_OS=$( uname -s )
++else
++ echo -n "using preset: "
++fi
++if [ "$HOST_OS" = "Linux" -o "$HOST_OS" = "linux" ]
+ then
+ HOST_OS="linux-gnu"
+ fi