summaryrefslogtreecommitdiffstats
path: root/debian/patches/rl-no-cross-check.diff
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 14:51:57 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 14:51:57 +0000
commit1c38c7a67e9d4d68e27c6ad183d1cccbb5596ddf (patch)
tree038435729af9aceab96d4484e895e310740e9885 /debian/patches/rl-no-cross-check.diff
parentAdding upstream version 8.2. (diff)
downloadreadline-be607d46f59274af6966edf5aba04fc09a316ee3.tar.xz
readline-be607d46f59274af6966edf5aba04fc09a316ee3.zip
Adding debian version 8.2-1.3.debian/8.2-1.3debian
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/patches/rl-no-cross-check.diff')
-rw-r--r--debian/patches/rl-no-cross-check.diff15
1 files changed, 15 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..757717d
--- /dev/null
+++ b/debian/patches/rl-no-cross-check.diff
@@ -0,0 +1,15 @@
+rl-no-cross-check.dpatch by <doko@debian.org>
+
+configure: Don't check for cross compilation
+
+--- a/configure
++++ b/configure
+@@ -3758,7 +3758,7 @@ ac_clean_files="$ac_clean_files conftest
+ # the compiler is broken, or we cross compile.
+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
+ printf %s "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;;