From 5f65074523fa53a2599a868269a20f5971bc7797 Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Thu, 5 Feb 2015 23:32:17 +0000 Subject: [PATCH] busybox: fix build on FreeBSD 10.1 Signed-off-by: Jo-Philipp Wich SVN-Revision: 44284 --- .../busybox/patches/102-freebsd-compat.patch | 26 +++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 package/utils/busybox/patches/102-freebsd-compat.patch diff --git a/package/utils/busybox/patches/102-freebsd-compat.patch b/package/utils/busybox/patches/102-freebsd-compat.patch new file mode 100644 index 0000000000..26d1ec6f71 --- /dev/null +++ b/package/utils/busybox/patches/102-freebsd-compat.patch @@ -0,0 +1,26 @@ +--- a/scripts/basic/docproc.c ++++ b/scripts/basic/docproc.c +@@ -39,7 +39,10 @@ + #include + #include + #include ++ ++#ifndef __FreeBSD__ + #include ++#endif + + /* exitstatus is used to keep track of any failing calls to kernel-doc, + * but execution continues. */ +--- a/scripts/basic/fixdep.c ++++ b/scripts/basic/fixdep.c +@@ -113,7 +113,10 @@ + #include + #include + #include ++ ++#ifndef __FreeBSD__ + #include ++#endif + + /* bbox: not needed + #define INT_CONF ntohl(0x434f4e46) -- 2.34.1