summaryrefslogtreecommitdiff
path: root/package/busybox/patches
diff options
context:
space:
mode:
Diffstat (limited to 'package/busybox/patches')
-rw-r--r--package/busybox/patches/009-extra-flags.patch9
-rw-r--r--package/busybox/patches/013-musl.patch11
2 files changed, 15 insertions, 5 deletions
diff --git a/package/busybox/patches/009-extra-flags.patch b/package/busybox/patches/009-extra-flags.patch
index f440d4380..00671a0f4 100644
--- a/package/busybox/patches/009-extra-flags.patch
+++ b/package/busybox/patches/009-extra-flags.patch
@@ -1,7 +1,7 @@
-diff -Nur busybox-1.19.4.orig/Makefile busybox-1.19.4/Makefile
---- busybox-1.19.4.orig/Makefile 2012-02-04 20:34:24.000000000 +0100
-+++ busybox-1.19.4/Makefile 2012-03-22 19:17:49.099007985 +0100
-@@ -318,10 +318,10 @@
+diff -Nur busybox-1.20.2.orig/Makefile busybox-1.20.2/Makefile
+--- busybox-1.20.2.orig/Makefile 2012-07-02 16:20:27.000000000 +0200
++++ busybox-1.20.2/Makefile 2013-08-12 13:36:00.000000000 +0200
+@@ -318,10 +318,9 @@
CFLAGS := $(CFLAGS)
# Added only to final link stage of busybox binary
CFLAGS_busybox := $(CFLAGS_busybox)
@@ -11,7 +11,6 @@ diff -Nur busybox-1.19.4.orig/Makefile busybox-1.19.4/Makefile
-LDFLAGS := $(LDFLAGS)
-LDLIBS :=
+LDFLAGS := $(LDFLAGS) $(EXTRA_LDFLAGS)
-+LDLIBS := tirpc
# Read KERNELRELEASE from .kernelrelease (if it exists)
KERNELRELEASE = $(shell cat .kernelrelease 2> /dev/null)
diff --git a/package/busybox/patches/013-musl.patch b/package/busybox/patches/013-musl.patch
new file mode 100644
index 000000000..af3d05141
--- /dev/null
+++ b/package/busybox/patches/013-musl.patch
@@ -0,0 +1,11 @@
+diff -Nur busybox-1.20.2.orig/networking/libiproute/iplink.c busybox-1.20.2/networking/libiproute/iplink.c
+--- busybox-1.20.2.orig/networking/libiproute/iplink.c 2012-06-26 15:35:45.000000000 +0200
++++ busybox-1.20.2/networking/libiproute/iplink.c 2013-08-12 13:00:33.000000000 +0200
+@@ -5,7 +5,6 @@
+ * Licensed under GPLv2 or later, see file LICENSE in this source tree.
+ */
+ #include <net/if.h>
+-#include <net/if_packet.h>
+ #include <netpacket/packet.h>
+ #include <netinet/if_ether.h>
+