summaryrefslogtreecommitdiff
path: root/package
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2014-05-24 23:25:32 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2014-05-25 09:14:13 +0200
commit6bedec9d6fb16bcf71c8e942a26a169edf47b199 (patch)
tree3d495b4c4c4c576458e0543fe8f42502364918de /package
parent09b73be7e8d51ad8b892c98bc97b858f81f509ae (diff)
fix compile on Darwin
Diffstat (limited to 'package')
-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