diff --git a/srcpkgs/iproute2/patches/fix-UINT_MAX-undeclared-with-build-with-musl-libc.patch b/srcpkgs/iproute2/patches/fix-UINT_MAX-undeclared-with-build-with-musl-libc.patch new file mode 100644 index 00000000000000..f5cf23c7446b95 --- /dev/null +++ b/srcpkgs/iproute2/patches/fix-UINT_MAX-undeclared-with-build-with-musl-libc.patch @@ -0,0 +1,41 @@ +From 6c1113633fde51b0e60f02243cfad1b3d09762cc Mon Sep 17 00:00:00 2001 +From: Akhilesh Nema +Date: Tue, 2 Dec 2025 18:11:24 -0800 +Subject: [PATCH] fix 'UINT_MAX' undeclared with build with musl libc + +- utils_math.c:136:20: error: 'UINT_MAX' undeclared (first use in this function) +- tc_core.c:51:22: error: 'UINT_MAX' undeclared (first use in this function) + +Signed-off-by: Akhilesh Nema +--- + lib/utils_math.c | 1 + + tc/tc_core.c | 1 + + 2 files changed, 2 insertions(+) + +diff --git a/lib/utils_math.c b/lib/utils_math.c +index a7e74744..fd2ddc7c 100644 +--- a/lib/utils_math.c ++++ b/lib/utils_math.c +@@ -4,6 +4,7 @@ + #include + #include + #include ++#include + #include + + #include "utils.h" +diff --git a/tc/tc_core.c b/tc/tc_core.c +index a422e02c..b13b7d78 100644 +--- a/tc/tc_core.c ++++ b/tc/tc_core.c +@@ -11,6 +11,7 @@ + #include + #include + #include ++#include + #include + #include + #include +-- +2.51.2 + diff --git a/srcpkgs/iproute2/patches/lib-bridge-avoid-redefinition-of-in6_addr.patch b/srcpkgs/iproute2/patches/lib-bridge-avoid-redefinition-of-in6_addr.patch deleted file mode 100644 index ae784ef717c0e3..00000000000000 --- a/srcpkgs/iproute2/patches/lib-bridge-avoid-redefinition-of-in6_addr.patch +++ /dev/null @@ -1,33 +0,0 @@ -From 25b2834cc974729229afcd308f127995405f85c5 Mon Sep 17 00:00:00 2001 -From: Yureka -Date: Sun, 12 Oct 2025 14:39:47 +0200 -Subject: [PATCH] lib: bridge: avoid redefinition of in6_addr - -On musl libc, which does not use the kernel definitions of in6_addr, including -the libc headers after the kernel (UAPI) headers would cause a redefinition -error. The opposite order avoids the redefinition. - -Fixes: 9e89d5b94d749f37525cd8778311e1c9f28f172a -Signed-off-by: Yureka -Signed-off-by: Stephen Hemminger ---- - lib/bridge.c | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/lib/bridge.c b/lib/bridge.c -index 5386aa01..104f5858 100644 ---- a/lib/bridge.c -+++ b/lib/bridge.c -@@ -2,8 +2,8 @@ - - #include - --#include "bridge.h" - #include "utils.h" -+#include "bridge.h" - - void bridge_print_vlan_flags(__u16 flags) - { --- -2.51.2 - diff --git a/srcpkgs/iproute2/template b/srcpkgs/iproute2/template index ff0e1850d85c0d..0a6eb290bb5c23 100644 --- a/srcpkgs/iproute2/template +++ b/srcpkgs/iproute2/template @@ -1,6 +1,6 @@ # Template file for 'iproute2' pkgname=iproute2 -version=6.17.0 +version=6.18.0 revision=1 build_style=configure make_install_args="SBINDIR=/usr/bin" @@ -12,7 +12,7 @@ maintainer="Enno Boland " license="GPL-2.0-only" homepage="https://wiki.linuxfoundation.org/networking/iproute2" distfiles="${KERNEL_SITE}/utils/net/iproute2/iproute2-${version}.tar.xz" -checksum=9781e59410ab7dea8e9f79bb10ff1488e63d10fcbb70503b94426ba27a8e2dec +checksum=6ba520e1975e4c50dc931eeae91ea37c198b8a173744885f8895b84325f9d456 # Requires unshare, which is not provided by chroot-util-linux. make_check=no