summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--package/busybox/patches/005-darwin-clang.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/package/busybox/patches/005-darwin-clang.patch b/package/busybox/patches/005-darwin-clang.patch
new file mode 100644
index 000000000..501e5c332
--- /dev/null
+++ b/package/busybox/patches/005-darwin-clang.patch
@@ -0,0 +1,12 @@
+diff -Nur busybox-1.22.1.orig/scripts/kconfig/zconf.hash.c_shipped busybox-1.22.1/scripts/kconfig/zconf.hash.c_shipped
+--- busybox-1.22.1.orig/scripts/kconfig/zconf.hash.c_shipped 2014-01-09 19:15:44.000000000 +0100
++++ busybox-1.22.1/scripts/kconfig/zconf.hash.c_shipped 2014-05-24 23:21:27.000000000 +0200
+@@ -156,7 +156,7 @@
+ #ifdef __GNUC__
+ __inline
+ #endif
+-struct kconf_id *
++static struct kconf_id *
+ kconf_id_lookup (register const char *str, register unsigned int len)
+ {
+ enum