aboutsummaryrefslogtreecommitdiffstats
path: root/testing/kbuild/kbuild-0.1.9998_pre20110817-gcc-4.7.patch
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2012-09-16 12:24:07 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2012-09-16 12:24:07 +0000
commit468668c8211152668d2246f4c165afbba9d66640 (patch)
tree579c0b642e0a0fede2a119f5a391e207066a68be /testing/kbuild/kbuild-0.1.9998_pre20110817-gcc-4.7.patch
parente3f425398a07acc6aaf35477fb82583f12d8a829 (diff)
downloadaports-468668c8211152668d2246f4c165afbba9d66640.tar.bz2
aports-468668c8211152668d2246f4c165afbba9d66640.tar.xz
testing/kbuild: fix for kmk_sed and gcc-4.7
https://www.virtualbox.org/ticket/10160
Diffstat (limited to 'testing/kbuild/kbuild-0.1.9998_pre20110817-gcc-4.7.patch')
-rw-r--r--testing/kbuild/kbuild-0.1.9998_pre20110817-gcc-4.7.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/testing/kbuild/kbuild-0.1.9998_pre20110817-gcc-4.7.patch b/testing/kbuild/kbuild-0.1.9998_pre20110817-gcc-4.7.patch
new file mode 100644
index 0000000000..435b3f57fb
--- /dev/null
+++ b/testing/kbuild/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))