summaryrefslogtreecommitdiffstats
path: root/meta/recipes-connectivity/iproute2
diff options
context:
space:
mode:
authorAdrian Bunk <bunk@stusta.de>2019-05-11 22:07:25 +0300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2019-05-12 09:10:52 +0100
commit5b0c42e9942dcab48bcf06254778a58eeabec3a7 (patch)
treee5267ab7da40b5a16d965987bb7fa9c00d35cc7d /meta/recipes-connectivity/iproute2
parent17ad93ee402f79607453fddaddcd17ae8b2e8d42 (diff)
downloadpoky-5b0c42e9942dcab48bcf06254778a58eeabec3a7.tar.gz
iproute2: Remove bogus workaround patch for musl
This patch worked around a problem in musl but caused the following: iplink_bridge.c: In function 'br_dump_bridge_id': iplink_bridge.c:77:2: warning: implicit declaration of function 'ether_ntoa_r'; did you mean 'inet_ntoa'? [-Wimplicit-function-declaration] ether_ntoa_r((const struct ether_addr *)id->addr, eaddr); ^~~~~~~~~~~~ In the meantime upstream has already implemented a different workaround for musl, so this patch can just be dropped. Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-connectivity/iproute2')
-rw-r--r--meta/recipes-connectivity/iproute2/iproute2/0001-ip-Remove-unneed-header.patch30
-rw-r--r--meta/recipes-connectivity/iproute2/iproute2_5.0.0.bb1
2 files changed, 0 insertions, 31 deletions
diff --git a/meta/recipes-connectivity/iproute2/iproute2/0001-ip-Remove-unneed-header.patch b/meta/recipes-connectivity/iproute2/iproute2/0001-ip-Remove-unneed-header.patch
deleted file mode 100644
index a9027c5b58..0000000000
--- a/meta/recipes-connectivity/iproute2/iproute2/0001-ip-Remove-unneed-header.patch
+++ /dev/null
@@ -1,30 +0,0 @@
1From 02ed10fc5215c4a32e6740b0a0c2439659be6801 Mon Sep 17 00:00:00 2001
2From: Changhyeok Bae <changhyeok.bae@gmail.com>
3Date: Mon, 13 Nov 2017 15:59:35 +0000
4Subject: [PATCH] ip: Remove unneed header
5
6Fix redefinition of struct ethhdr with a suitably patched musl libc
7that suppresses the kernel if_ether.h.
8
9Signed-off-by: Changhyeok Bae <changhyeok.bae@gmail.com>
10
11Upstream-Status: Pending [netdev@vger.kernel.org]
12---
13 ip/iplink_bridge.c | 1 -
14 1 file changed, 1 deletion(-)
15
16diff --git a/ip/iplink_bridge.c b/ip/iplink_bridge.c
17index cccdec1..f065b22 100644
18--- a/ip/iplink_bridge.c
19+++ b/ip/iplink_bridge.c
20@@ -13,7 +13,6 @@
21 #include <stdlib.h>
22 #include <string.h>
23 #include <netinet/in.h>
24-#include <netinet/ether.h>
25 #include <linux/if_link.h>
26 #include <linux/if_bridge.h>
27 #include <net/if.h>
28--
292.7.4
30
diff --git a/meta/recipes-connectivity/iproute2/iproute2_5.0.0.bb b/meta/recipes-connectivity/iproute2/iproute2_5.0.0.bb
index c5ac987b6f..8f33c7fe19 100644
--- a/meta/recipes-connectivity/iproute2/iproute2_5.0.0.bb
+++ b/meta/recipes-connectivity/iproute2/iproute2_5.0.0.bb
@@ -3,7 +3,6 @@ require iproute2.inc
3SRC_URI = "${KERNELORG_MIRROR}/linux/utils/net/${BPN}/${BP}.tar.xz \ 3SRC_URI = "${KERNELORG_MIRROR}/linux/utils/net/${BPN}/${BP}.tar.xz \
4 file://configure-cross.patch \ 4 file://configure-cross.patch \
5 file://0001-libc-compat.h-add-musl-workaround.patch \ 5 file://0001-libc-compat.h-add-musl-workaround.patch \
6 file://0001-ip-Remove-unneed-header.patch \
7 " 6 "
8 7
9SRC_URI[md5sum] = "d22107b4d7cfb999eeb8ad8a0aec1124" 8SRC_URI[md5sum] = "d22107b4d7cfb999eeb8ad8a0aec1124"