From 6bedec9d6fb16bcf71c8e942a26a169edf47b199 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Sat, 24 May 2014 23:25:32 +0200 Subject: fix compile on Darwin --- package/busybox/patches/005-darwin-clang.patch | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 package/busybox/patches/005-darwin-clang.patch (limited to 'package/busybox') 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 -- cgit v1.2.3