gentoo-ebuilds/dev-build/autoconf-vanilla/files/autoconf-2.13-test-fixes.patch
Michał Górny 2211dfa066
Move {sys-devel → dev-build}/autoconf-vanilla
Signed-off-by: Michał Górny <mgorny@gentoo.org>
2024-01-15 16:58:21 +01:00

18 lines
547 B
Diff

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
}