Gentoo Archives: gentoo-commits

From: "Ryan Hill (dirtyepic)" <dirtyepic@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sys-devel/bison/files: bison-2.4.2-gcc45_testsuite.patch
Date: Thu, 22 Apr 2010 06:07:32
Message-Id: 20100422060729.973C14001B@corvid.gentoo.org
1 dirtyepic 10/04/22 06:07:29
2
3 Added: bison-2.4.2-gcc45_testsuite.patch
4 Log:
5 Add patch from upstream to fix testsuite w/ gcc-4.5.
6 (Portage version: 2.2_rc67/cvs/Linux x86_64)
7
8 Revision Changes Path
9 1.1 sys-devel/bison/files/bison-2.4.2-gcc45_testsuite.patch
10
11 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-devel/bison/files/bison-2.4.2-gcc45_testsuite.patch?rev=1.1&view=markup
12 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-devel/bison/files/bison-2.4.2-gcc45_testsuite.patch?rev=1.1&content-type=text/plain
13
14 Index: bison-2.4.2-gcc45_testsuite.patch
15 ===================================================================
16 http://git.savannah.gnu.org/cgit/bison.git/commit/?id=4ad3921d3be296de6a2b3c5fe0e18136d53ba06d
17
18 --- a/tests/synclines.at
19 +++ b/tests/synclines.at
20 @@ -71,7 +71,9 @@ AT_CHECK([[test "`cat stdout`" = 'syncline.c:1: @%:@error "1"' || exit 77]])
21 AT_DATA([[input.y]], [$2])
22 AT_BISON_CHECK([-o input.c input.y])
23 AT_SYNCLINES_COMPILE([input.c])
24 -AT_CHECK([cat stdout], 0, [$3])
25 +# GCC 4.5 tells you the function within which #error appears, but
26 +# previous versions of gcc do not.
27 +AT_CHECK([grep -v ': In function ' stdout], 0, [$3])
28 AT_CLEANUP
29 ])