Gentoo Archives: gentoo-commits

From: "vapier (vapier)" <vapier@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sys-devel/autoconf/files: autoconf-2.13-test-fixes.patch
Date: Sat, 08 Sep 2007 06:32:43
Message-Id: E1ITtlV-0005o2-5k@stork.gentoo.org
vapier      07/09/08 06:25:57

  Added:                autoconf-2.13-test-fixes.patch
  Log:
  Fixup false test failures with newer gcc versions #146592.
  (Portage version: 2.1.3.7)

Revision  Changes    Path
1.1                  sys-devel/autoconf/files/autoconf-2.13-test-fixes.patch

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-devel/autoconf/files/autoconf-2.13-test-fixes.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-devel/autoconf/files/autoconf-2.13-test-fixes.patch?rev=1.1&content-type=text/plain

Index: autoconf-2.13-test-fixes.patch
===================================================================
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
 }



-- 
gentoo-commits@g.o mailing list