Browse Source

fix compile on Darwin

Waldemar Brodkorb 10 years ago
parent
commit
6bedec9d6f
1 changed files with 12 additions and 0 deletions
  1. 12 0
      package/busybox/patches/005-darwin-clang.patch

+ 12 - 0
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