summaryrefslogtreecommitdiffstats
path: root/meta/recipes-connectivity/iproute2
diff options
context:
space:
mode:
authorwangmy <wangmy@fujitsu.com>2022-03-28 17:52:50 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2022-03-29 15:59:29 +0100
commit94462c3df9cb29fa51c6aea7821be084766d0f05 (patch)
tree2fc8b29f3f13c19dba776eeebec2bb7357ba7ccc /meta/recipes-connectivity/iproute2
parent5bf17c55b2e982738d73226dee8f2dd73f1a3942 (diff)
downloadpoky-94462c3df9cb29fa51c6aea7821be084766d0f05.tar.gz
iproute2: upgrade 5.16.0 -> 5.17.0
0001-lib-fix-ax25.h-include-for-musl.patch removed since it's included in 5.17.0 (From OE-Core rev: 4b0b5fa9dd82fe9492e1eba440f3dcee40572fb6) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> 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-lib-fix-ax25.h-include-for-musl.patch37
-rw-r--r--meta/recipes-connectivity/iproute2/iproute2_5.17.0.bb (renamed from meta/recipes-connectivity/iproute2/iproute2_5.16.0.bb)3
2 files changed, 1 insertions, 39 deletions
diff --git a/meta/recipes-connectivity/iproute2/iproute2/0001-lib-fix-ax25.h-include-for-musl.patch b/meta/recipes-connectivity/iproute2/iproute2/0001-lib-fix-ax25.h-include-for-musl.patch
deleted file mode 100644
index e4c0cf4aa5..0000000000
--- a/meta/recipes-connectivity/iproute2/iproute2/0001-lib-fix-ax25.h-include-for-musl.patch
+++ /dev/null
@@ -1,37 +0,0 @@
1From 8bced38a941a181f1468fa39541e872e51b6022f Mon Sep 17 00:00:00 2001
2From: Sam James <sam@gentoo.org>
3Date: Thu, 13 Jan 2022 08:14:13 +0000
4Subject: [PATCH] lib: fix ax25.h include for musl
5
6ax25.h isn't guaranteed to be avilable in netax25/*;
7it's dependent on our choice of libc (it's not available
8on musl at least) [0].
9
10Let's use the version from linux-headers.
11
12[0] https://sourceware.org/glibc/wiki/Synchronizing_Headers
13Bug: https://bugs.gentoo.org/831102
14
15Signed-off-by: Sam James <sam@gentoo.org>
16Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
17
18Upstream-Status: Backport [https://git.kernel.org/pub/scm/network/iproute2/iproute2.git/commit/?id=8bced38a941a181f1468fa39541e872e51b6022f]
19---
20 lib/ax25_ntop.c | 2 +-
21 1 file changed, 1 insertion(+), 1 deletion(-)
22
23diff --git a/lib/ax25_ntop.c b/lib/ax25_ntop.c
24index cfd0e04b..3a72a43e 100644
25--- a/lib/ax25_ntop.c
26+++ b/lib/ax25_ntop.c
27@@ -2,7 +2,7 @@
28
29 #include <errno.h>
30 #include <sys/socket.h>
31-#include <netax25/ax25.h>
32+#include <linux/ax25.h>
33
34 #include "utils.h"
35
36--
372.32.0 (Apple Git-132)
diff --git a/meta/recipes-connectivity/iproute2/iproute2_5.16.0.bb b/meta/recipes-connectivity/iproute2/iproute2_5.17.0.bb
index 871f8d8fb7..becbaa9190 100644
--- a/meta/recipes-connectivity/iproute2/iproute2_5.16.0.bb
+++ b/meta/recipes-connectivity/iproute2/iproute2_5.17.0.bb
@@ -2,10 +2,9 @@ require iproute2.inc
2 2
3SRC_URI = "${KERNELORG_MIRROR}/linux/utils/net/${BPN}/${BP}.tar.xz \ 3SRC_URI = "${KERNELORG_MIRROR}/linux/utils/net/${BPN}/${BP}.tar.xz \
4 file://0001-libc-compat.h-add-musl-workaround.patch \ 4 file://0001-libc-compat.h-add-musl-workaround.patch \
5 file://0001-lib-fix-ax25.h-include-for-musl.patch \
6 " 5 "
7 6
8SRC_URI[sha256sum] = "c064b66f6b001c2a35aa5224b5b1ac8aa4bee104d7dce30d6f10a84cb8b01e2f" 7SRC_URI[sha256sum] = "6e384f1b42c75e1a9daac57866da37dcff909090ba86eb25a6e764da7893660e"
9 8
10# CFLAGS are computed in Makefile and reference CCOPTS 9# CFLAGS are computed in Makefile and reference CCOPTS
11# 10#