summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Lecher <jlec@gentoo.org>2012-06-20 20:04:41 +0000
committerJustin Lecher <jlec@gentoo.org>2012-06-20 20:04:41 +0000
commitc9a650a6f696c532d93e4f6abd2764aa6be04cb4 (patch)
treed2a1ca5e07aa15a493bbb869e138d7975ae44140 /dev-util/kbuild/files
parentarm stable, bug #414749 (diff)
downloadgentoo-2-c9a650a6f696c532d93e4f6abd2764aa6be04cb4.tar.gz
gentoo-2-c9a650a6f696c532d93e4f6abd2764aa6be04cb4.tar.bz2
gentoo-2-c9a650a6f696c532d93e4f6abd2764aa6be04cb4.zip
dev-util/kbuild: Fix for gcc-4.7, #419705; thanks Brennan Shacklett for the patch
(Portage version: 2.2.0_alpha110/cvs/Linux x86_64)
Diffstat (limited to 'dev-util/kbuild/files')
-rw-r--r--dev-util/kbuild/files/kbuild-0.1.9998_pre20110817-gcc-4.7.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/dev-util/kbuild/files/kbuild-0.1.9998_pre20110817-gcc-4.7.patch b/dev-util/kbuild/files/kbuild-0.1.9998_pre20110817-gcc-4.7.patch
new file mode 100644
index 000000000000..435b3f57fbd2
--- /dev/null
+++ b/dev-util/kbuild/files/kbuild-0.1.9998_pre20110817-gcc-4.7.patch
@@ -0,0 +1,12 @@
+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
+--- kBuild-0.1.9998-pre20110817-orig/src/sed/lib/regex_internal.c 2011-08-17 14:28:42.000000000 -0700
++++ kBuild-0.1.9998-pre20110817/src/sed/lib/regex_internal.c 2012-06-16 13:55:05.341176965 -0700
+@@ -781,7 +781,7 @@
+ }
+
+ static unsigned char
+-internal_function __attribute ((pure))
++internal_function
+ re_string_fetch_byte_case (re_string_t *pstr)
+ {
+ if (BE (!pstr->mbs_allocated, 1))