summaryrefslogtreecommitdiff
path: root/dev-build/autoconf-vanilla/files/autoconf-2.13-test-fixes.patch
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2024-01-14 21:18:39 +0100
committerMichał Górny <mgorny@gentoo.org>2024-01-15 16:58:21 +0100
commit2211dfa06605fd15825673427862a63a965d0ba5 (patch)
treed1826db2557b56fda2facf023f043585ec8cd532 /dev-build/autoconf-vanilla/files/autoconf-2.13-test-fixes.patch
parent62aa01b01114bc2c8c59f8d12c391291a2f4ab97 (diff)
downloadgentoo-2211dfa06605fd15825673427862a63a965d0ba5.tar.gz
gentoo-2211dfa06605fd15825673427862a63a965d0ba5.tar.bz2
gentoo-2211dfa06605fd15825673427862a63a965d0ba5.zip
Move {sys-devel → dev-build}/autoconf-vanilla
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-build/autoconf-vanilla/files/autoconf-2.13-test-fixes.patch')
-rw-r--r--dev-build/autoconf-vanilla/files/autoconf-2.13-test-fixes.patch18
1 files changed, 18 insertions, 0 deletions
diff --git a/dev-build/autoconf-vanilla/files/autoconf-2.13-test-fixes.patch b/dev-build/autoconf-vanilla/files/autoconf-2.13-test-fixes.patch
new file mode 100644
index 000000000000..b8a7e3b8ce99
--- /dev/null
+++ b/dev-build/autoconf-vanilla/files/autoconf-2.13-test-fixes.patch
@@ -0,0 +1,18 @@
+newer gcc versions don't provide g77, so if it doesn't exist,
+don't bother trying to test it (and failing)
+
+http://bugs.gentoo.org/146592
+
+--- autoconf-2.13/testsuite/autoconf.s/syntax.exp
++++ autoconf-2.13/testsuite/autoconf.s/syntax.exp
+@@ -5,6 +5,10 @@
+ set macros [exec sed -n $script $srcdir/../acspecific.m4]
+
+ foreach mac $macros {
++ if { [string match "*F77*" "$mac"] && [catch {exec which g77} ignore_output] } then {
++ send_user "XFAIL: $mac\n"
++ continue
++ }
+ send_user "$mac\n"
+ autoconf_test $mac $mac
+ }