aboutsummaryrefslogtreecommitdiffstats
path: root/package/busybox
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2010-07-22 08:28:39 +0000
committerJo-Philipp Wich <jow@openwrt.org>2010-07-22 08:28:39 +0000
commit1d6d3d0d8acacfc88dc0cef484028bcc45621a0d (patch)
treee1a1226d46f220d855d8812b3077613f564f151e /package/busybox
parentf8c3ebc7c68a2261b334a1c272bd14dd6cf48bcf (diff)
downloadupstream-1d6d3d0d8acacfc88dc0cef484028bcc45621a0d.tar.gz
upstream-1d6d3d0d8acacfc88dc0cef484028bcc45621a0d.tar.bz2
upstream-1d6d3d0d8acacfc88dc0cef484028bcc45621a0d.zip
busybox: fix compilation on FreeBSD
SVN-Revision: 22348
Diffstat (limited to 'package/busybox')
-rw-r--r--package/busybox/patches/920-freebsd_fixes.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/package/busybox/patches/920-freebsd_fixes.patch b/package/busybox/patches/920-freebsd_fixes.patch
new file mode 100644
index 0000000000..f823417ea9
--- /dev/null
+++ b/package/busybox/patches/920-freebsd_fixes.patch
@@ -0,0 +1,11 @@
+--- a/include/platform.h
++++ b/include/platform.h
+@@ -253,7 +253,7 @@ typedef int socklen_t;
+ # define HAVE_FEATURES_H
+ # include <stdint.h>
+ # define HAVE_STDINT_H
+-#elif !defined __APPLE__
++#elif !defined(__APPLE__) && !defined(__FreeBSD__)
+ /* Largest integral types. */
+ # if BB_BIG_ENDIAN
+ /* Looks BROKEN! */