From d1a79dd51228ca94535a18ecea45f80114f0c0d2 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Wed, 27 Aug 2008 19:35:47 +0000 Subject: [PATCH] fix busybox compile on mac os x SVN-Revision: 12409 --- .../busybox/patches/002-darwin_compile_fix.patch | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 package/busybox/patches/002-darwin_compile_fix.patch diff --git a/package/busybox/patches/002-darwin_compile_fix.patch b/package/busybox/patches/002-darwin_compile_fix.patch new file mode 100644 index 0000000000..a5c5379f97 --- /dev/null +++ b/package/busybox/patches/002-darwin_compile_fix.patch @@ -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 -- 2.30.2