[PATCH 23/34] iproute2: upgrade 6.9.0 -> 6.10.0

Alexander Kanavin
2024-08-27T05:24:20Z

...nk.h-add-missing-include-for-htobe64.patch | 24 +++++++++++++++++++
.../{iproute2_6.9.0.bb => iproute2_6.10.0.bb} | 6 +++--
2 files changed, 28 insertions(+), 2 deletions(-)
create mode 100644 meta/recipes-connectivity/iproute2/iproute2/0001-include-libnetlink.h-add-missing-include-for-htobe64.patch
rename meta/recipes-connectivity/iproute2/{iproute2_6.9.0.bb => iproute2_6.10.0.bb} (94%)

diff --git a/meta/recipes-connectivity/iproute2/iproute2/0001-include-libnetlink.h-add-missing-include-for-htobe64.patch b/meta/recipes-connectivity/iproute2/iproute2/0001-include-libnetlink.h-add-missing-include-for-htobe64.patch
new file mode 100644
index 00000000000..555d63b2403
--- /dev/null
+++ b/meta/recipes-connectivity/iproute2/iproute2/0001-include-libnetlink.h-add-missing-include-for-htobe64.patch
@@ -0,0 +1,24 @@
+From f3c574b27000fd887cee84ab47adf23f767cbea1 Mon Sep 17 00:00:00 2001
+From: Alexander Kanavin <alex@linutronix.de>
+Date: Sat, 24 Aug 2024 15:32:25 +0200
+Subject: [PATCH] include/libnetlink.h: add missing include for htobe64
+ definitions
+
+Upstream-Status: Submitted [by email to stephen@networkplumber.org netdev@vger.kernel.org]
+Signed-off-by: Alexander Kanavin <alex@linutronix.de>
+---
+ include/libnetlink.h | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/include/libnetlink.h b/include/libnetlink.h
+index 30f0c2d..77e8181 100644
+--- a/include/libnetlink.h
++++ b/include/libnetlink.h
+@@ -12,6 +12,7 @@
+ #include <linux/neighbour.h>
+ #include <linux/netconf.h>
+ #include <arpa/inet.h>
++#include <endian.h>
+
+ struct rtnl_handle {
+ int fd;
diff --git a/meta/recipes-connectivity/iproute2/iproute2_6.9.0.bb b/meta/recipes-connectivity/iproute2/iproute2_6.10.0.bb
similarity index 94%
rename from meta/recipes-connectivity/iproute2/iproute2_6.9.0.bb
rename to meta/recipes-connectivity/iproute2/iproute2_6.10.0.bb
index d21885cd73a..9f0c9aab59e 100644
--- a/meta/recipes-connectivity/iproute2/iproute2_6.9.0.bb
+++ b/meta/recipes-connectivity/iproute2/iproute2_6.10.0.bb
@@ -11,9 +11,11 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=eb723b61539feef013de476e68b5c50a \

DEPENDS = "flex-native bison-native iptables libcap"

-SRC_URI = "${KERNELORG_MIRROR}/linux/utils/net/${BPN}/${BP}.tar.xz"
+SRC_URI = "${KERNELORG_MIRROR}/linux/utils/net/${BPN}/${BP}.tar.xz \
+ file://0001-include-libnetlink.h-add-missing-include-for-htobe64.patch \
+ "

-SRC_URI[sha256sum] = "2f643d09ea11a4a2a043c92e2b469b5f73228cbf241ae806760296ed0ec413d0"
+SRC_URI[sha256sum] = "91a62f82737b44905a00fa803369c447d549e914e9a2a4018fdd75b1d54e8dce"

inherit update-alternatives bash-completion pkgconfig

--
2.39.2