Gentoo Archives: gentoo-commits

From: "Justin Lecher (jlec)" <jlec@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-util/kbuild/files: kbuild-0.1.9998_pre20110817-gcc-4.7.patch
Date: Wed, 20 Jun 2012 20:04:52
Message-Id: 20120620200441.08E2B2004B@flycatcher.gentoo.org
1 jlec 12/06/20 20:04:41
2
3 Added: kbuild-0.1.9998_pre20110817-gcc-4.7.patch
4 Log:
5 dev-util/kbuild: Fix for gcc-4.7, #419705; thanks Brennan Shacklett for the patch
6
7 (Portage version: 2.2.0_alpha110/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.1 dev-util/kbuild/files/kbuild-0.1.9998_pre20110817-gcc-4.7.patch
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/kbuild/files/kbuild-0.1.9998_pre20110817-gcc-4.7.patch?rev=1.1&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/kbuild/files/kbuild-0.1.9998_pre20110817-gcc-4.7.patch?rev=1.1&content-type=text/plain
14
15 Index: kbuild-0.1.9998_pre20110817-gcc-4.7.patch
16 ===================================================================
17 diff -urN kBuild-0.1.9998-pre20110817-orig/src/sed/lib/regex_internal.c kBuild-0.1.9998-pre20110817/src/sed/lib/regex_internal.c
18 --- kBuild-0.1.9998-pre20110817-orig/src/sed/lib/regex_internal.c 2011-08-17 14:28:42.000000000 -0700
19 +++ kBuild-0.1.9998-pre20110817/src/sed/lib/regex_internal.c 2012-06-16 13:55:05.341176965 -0700
20 @@ -781,7 +781,7 @@
21 }
22
23 static unsigned char
24 -internal_function __attribute ((pure))
25 +internal_function
26 re_string_fetch_byte_case (re_string_t *pstr)
27 {
28 if (BE (!pstr->mbs_allocated, 1))