fix busybox compile on mac os x
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Wed, 27 Aug 2008 19:35:47 +0000 (19:35 +0000)
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Wed, 27 Aug 2008 19:35:47 +0000 (19:35 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12409 3c298f89-4303-0410-b956-a3cf2f4a3e73

package/busybox/patches/002-darwin_compile_fix.patch [new file with mode: 0644]

diff --git a/package/busybox/patches/002-darwin_compile_fix.patch b/package/busybox/patches/002-darwin_compile_fix.patch
new file mode 100644 (file)
index 0000000..a5c5379
--- /dev/null
@@ -0,0 +1,13 @@
+--- a/include/libbb.h
++++ b/include/libbb.h
+@@ -83,7 +83,10 @@
+ extern char **environ;
+ /* Set the group set for the current user to GROUPS (N of them).  */
++#if !defined(__APPLE__)
+ int setgroups(size_t n, const gid_t *groups);
++#endif
++
+ #if defined(__GLIBC__) && __GLIBC__ < 2
+ int vdprintf(int d, const char *format, va_list ap);
+ #endif
This page took 0.019718 seconds and 4 git commands to generate.