summaryrefslogtreecommitdiff
path: root/recipes/busybox
diff options
context:
space:
mode:
authorSteffen Sledz <sledz@dresearch.de>2009-10-29 13:01:06 +0100
committerSteffen Sledz <sledz@dresearch.de>2009-11-03 08:18:52 +0100
commitab0b2217fe5aa32e68f7a7b26c820fb425f4da3c (patch)
tree7f0d1f6f33ab8a582deb5a2878cc9cc65c839e34 /recipes/busybox
parent0e9b71b72a5427bb8c863d639eef030be398099d (diff)
busybox-1.11.3: undefined reference __cpu_to_be16 fixed for busybox-static
A patch fixing this problem inside the linux kernel was not accepted. For details see: - http://lkml.org/lkml/2009/6/18/223 - http://patchwork.kernel.org/patch/31164/ Signed-off-by: Steffen Sledz <sledz@dresearch.de>
Diffstat (limited to 'recipes/busybox')
-rw-r--r--recipes/busybox/busybox-1.11.3/iptunnel.patch11
-rw-r--r--recipes/busybox/busybox.inc2
-rw-r--r--recipes/busybox/busybox_1.11.3.bb1
3 files changed, 13 insertions, 1 deletions
diff --git a/recipes/busybox/busybox-1.11.3/iptunnel.patch b/recipes/busybox/busybox-1.11.3/iptunnel.patch
new file mode 100644
index 0000000000..18734fc527
--- /dev/null
+++ b/recipes/busybox/busybox-1.11.3/iptunnel.patch
@@ -0,0 +1,11 @@
+diff -Nurd busybox-1.11.3.orig//networking/libiproute/iptunnel.c busybox-1.11.3/networking/libiproute/iptunnel.c
+--- busybox-1.11.3.orig//networking/libiproute/iptunnel.c 2009-10-29 12:49:58.000000000 +0100
++++ busybox-1.11.3/networking/libiproute/iptunnel.c 2009-10-29 12:50:33.000000000 +0100
+@@ -21,6 +21,7 @@
+ #ifndef __constant_htons
+ #define __constant_htons htons
+ #endif
++#include <asm/byteorder.h>
+ #include <linux/if_tunnel.h>
+
+ #include "ip_common.h" /* #include "libbb.h" is inside */
diff --git a/recipes/busybox/busybox.inc b/recipes/busybox/busybox.inc
index 0ff65a41bc..753b402bee 100644
--- a/recipes/busybox/busybox.inc
+++ b/recipes/busybox/busybox.inc
@@ -11,7 +11,7 @@ LICENSE = "GPL"
SECTION = "base"
PRIORITY = "required"
-INC_PR = "r22"
+INC_PR = "r23"
SRC_URI = "\
http://www.busybox.net/downloads/busybox-${PV}.tar.gz \
diff --git a/recipes/busybox/busybox_1.11.3.bb b/recipes/busybox/busybox_1.11.3.bb
index 293608bcb3..0ec753f951 100644
--- a/recipes/busybox/busybox_1.11.3.bb
+++ b/recipes/busybox/busybox_1.11.3.bb
@@ -7,6 +7,7 @@ SRC_URI = "\
file://udhcpscript.patch;patch=1 \
file://B921600.patch;patch=1 \
file://fdisk_lineedit_segfault.patch;patch=1 \
+ file://iptunnel.patch;patch=1 \
file://busybox-appletlib-dependency.patch;patch=1 \
file://busybox-cron \
file://busybox-httpd \