summaryrefslogtreecommitdiffstats
path: root/debian/patches/rl-no-cross-check.diff
diff options
context:
space:
mode:
Diffstat (limited to 'debian/patches/rl-no-cross-check.diff')
-rw-r--r--debian/patches/rl-no-cross-check.diff17
1 files changed, 17 insertions, 0 deletions
diff --git a/debian/patches/rl-no-cross-check.diff b/debian/patches/rl-no-cross-check.diff
new file mode 100644
index 0000000..e6fde4c
--- /dev/null
+++ b/debian/patches/rl-no-cross-check.diff
@@ -0,0 +1,17 @@
+rl-no-cross-check.dpatch by <doko@debian.org>
+
+configure: Don't check for cross compilation
+
+Index: b/configure
+===================================================================
+--- a/configure
++++ b/configure
+@@ -2951,7 +2951,7 @@ ac_clean_files="$ac_clean_files conftest
+ # the compiler is broken, or we cross compile.
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
+ $as_echo_n "checking whether we are cross compiling... " >&6; }
+-if test "$cross_compiling" != yes; then
++if false && test "$cross_compiling" != yes; then
+ { { ac_try="$ac_link"
+ case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;