summaryrefslogtreecommitdiff
path: root/package/tcptrace/patches/patch-configure
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@uclibc-ng.org>2015-03-01 13:19:12 +0100
committerWaldemar Brodkorb <wbx@uclibc-ng.org>2015-03-01 13:19:12 +0100
commitf2ea9e8dbd4cc3c77ff4cc52688d7057d3289fab (patch)
tree72ec81acffa69f2c89e52a38603a6f92fb1e72ae /package/tcptrace/patches/patch-configure
parentdce7d2df8c73896aeef77118fe89fc7e88d035fe (diff)
parent0943b7422376747a452bda5562c73d673cccbe68 (diff)
Merge branch 'master' of git+ssh://openadk.org/git/openadk
Diffstat (limited to 'package/tcptrace/patches/patch-configure')
-rw-r--r--package/tcptrace/patches/patch-configure18
1 files changed, 18 insertions, 0 deletions
diff --git a/package/tcptrace/patches/patch-configure b/package/tcptrace/patches/patch-configure
new file mode 100644
index 000000000..53ee6ce74
--- /dev/null
+++ b/package/tcptrace/patches/patch-configure
@@ -0,0 +1,18 @@
+ do not bail on cross-compiling, simply assume useful values instead
+--- tcptrace-6.6.7.orig/configure 2002-06-21 11:56:26.000000000 +0200
++++ tcptrace-6.6.7/configure 2012-10-18 18:52:35.154444758 +0200
+@@ -5086,9 +5086,11 @@ echo "$as_me:5085: checking how to print
+ echo $ECHO_N "checking how to print unsigned long long... $ECHO_C" >&6
+
+ if test "$cross_compiling" = yes; then
+- { { echo "$as_me:5089: error: can not run test program while cross compiling" >&5
+-echo "$as_me: error: can not run test program while cross compiling" >&2;}
+- { (exit 1); exit 1; }; }
++ { echo "$as_me: cross_compiling, simply assuming '%llu'"
++ cat >>confdefs.h <<\EOF
++#define USE_LLU 1
++EOF
++}
+ else
+ cat >conftest.$ac_ext <<_ACEOF
+ #line 5094 "configure"