diff options
| -rw-r--r-- | meta/recipes-connectivity/iproute2/iproute2/0001-include-libnetlink.h-add-missing-include-for-htobe64.patch | 24 | ||||
| -rw-r--r-- | meta/recipes-connectivity/iproute2/iproute2_6.10.0.bb (renamed from meta/recipes-connectivity/iproute2/iproute2_6.9.0.bb) | 6 |
2 files changed, 28 insertions, 2 deletions
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 0000000000..555d63b240 --- /dev/null +++ b/meta/recipes-connectivity/iproute2/iproute2/0001-include-libnetlink.h-add-missing-include-for-htobe64.patch | |||
| @@ -0,0 +1,24 @@ | |||
| 1 | From f3c574b27000fd887cee84ab47adf23f767cbea1 Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Alexander Kanavin <alex@linutronix.de> | ||
| 3 | Date: Sat, 24 Aug 2024 15:32:25 +0200 | ||
| 4 | Subject: [PATCH] include/libnetlink.h: add missing include for htobe64 | ||
| 5 | definitions | ||
| 6 | |||
| 7 | Upstream-Status: Submitted [by email to stephen@networkplumber.org netdev@vger.kernel.org] | ||
| 8 | Signed-off-by: Alexander Kanavin <alex@linutronix.de> | ||
| 9 | --- | ||
| 10 | include/libnetlink.h | 1 + | ||
| 11 | 1 file changed, 1 insertion(+) | ||
| 12 | |||
| 13 | diff --git a/include/libnetlink.h b/include/libnetlink.h | ||
| 14 | index 30f0c2d..77e8181 100644 | ||
| 15 | --- a/include/libnetlink.h | ||
| 16 | +++ b/include/libnetlink.h | ||
| 17 | @@ -12,6 +12,7 @@ | ||
| 18 | #include <linux/neighbour.h> | ||
| 19 | #include <linux/netconf.h> | ||
| 20 | #include <arpa/inet.h> | ||
| 21 | +#include <endian.h> | ||
| 22 | |||
| 23 | struct rtnl_handle { | ||
| 24 | int fd; | ||
diff --git a/meta/recipes-connectivity/iproute2/iproute2_6.9.0.bb b/meta/recipes-connectivity/iproute2/iproute2_6.10.0.bb index d21885cd73..9f0c9aab59 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 \ | |||
| 11 | 11 | ||
| 12 | DEPENDS = "flex-native bison-native iptables libcap" | 12 | DEPENDS = "flex-native bison-native iptables libcap" |
| 13 | 13 | ||
| 14 | SRC_URI = "${KERNELORG_MIRROR}/linux/utils/net/${BPN}/${BP}.tar.xz" | 14 | SRC_URI = "${KERNELORG_MIRROR}/linux/utils/net/${BPN}/${BP}.tar.xz \ |
| 15 | file://0001-include-libnetlink.h-add-missing-include-for-htobe64.patch \ | ||
| 16 | " | ||
| 15 | 17 | ||
| 16 | SRC_URI[sha256sum] = "2f643d09ea11a4a2a043c92e2b469b5f73228cbf241ae806760296ed0ec413d0" | 18 | SRC_URI[sha256sum] = "91a62f82737b44905a00fa803369c447d549e914e9a2a4018fdd75b1d54e8dce" |
| 17 | 19 | ||
| 18 | inherit update-alternatives bash-completion pkgconfig | 20 | inherit update-alternatives bash-completion pkgconfig |
| 19 | 21 | ||
