summaryrefslogtreecommitdiff
path: root/package
diff options
context:
space:
mode:
authorThorsten Glaser <tg@mirbsd.org>2011-01-06 20:08:01 +0000
committerWaldemar Brodkorb <wbx@openadk.org>2011-01-06 21:44:39 +0100
commitf1731031716368f07797e93cc7ae71e155ac92e0 (patch)
tree52583d608c1e99fe9896fab9ad8fb1e6ee97d9aa /package
parentd202b06f7b4accdb230822ed6b3c0a5a8fc92917 (diff)
fix build error due to missing includes
Signed-off-by: Thorsten Glaser <tg@mirbsd.org>
Diffstat (limited to 'package')
-rw-r--r--package/busybox/Makefile2
-rw-r--r--package/busybox/patches/007-missing-headers.patch10
2 files changed, 11 insertions, 1 deletions
diff --git a/package/busybox/Makefile b/package/busybox/Makefile
index 6145cb780..2f17738bc 100644
--- a/package/busybox/Makefile
+++ b/package/busybox/Makefile
@@ -5,7 +5,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:= busybox
PKG_VERSION:= 1.18.1
-PKG_RELEASE:= 2
+PKG_RELEASE:= 3
PKG_MD5SUM:= f15fe752d8b7012aa5e59f83b88ccb1c
PKG_DESCR:= Core utilities for embedded systems
PKG_SECTION:= base
diff --git a/package/busybox/patches/007-missing-headers.patch b/package/busybox/patches/007-missing-headers.patch
new file mode 100644
index 000000000..cba28970f
--- /dev/null
+++ b/package/busybox/patches/007-missing-headers.patch
@@ -0,0 +1,10 @@
+--- busybox-1.18.1/include/platform.h~ Mon Dec 20 00:41:03 2010
++++ busybox-1.18.1/include/platform.h Thu Jan 6 20:03:58 2011
+@@ -155,6 +155,7 @@
+ # include <sex.h>
+ #elif defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__NetBSD__) \
+ || defined(__APPLE__)
++# include <sys/param.h> /* contains needed types for the following */
+ # include <sys/resource.h> /* rlimit */
+ # include <machine/endian.h>
+ # define bswap_64 __bswap64