Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
From 6c1113633fde51b0e60f02243cfad1b3d09762cc Mon Sep 17 00:00:00 2001
From: Akhilesh Nema <nemaakhilesh@gmail.com>
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 <nemaakhilesh@gmail.com>
---
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 <stdlib.h>
#include <string.h>
#include <math.h>
+#include <limits.h>
#include <asm/types.h>

#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 <unistd.h>
#include <fcntl.h>
#include <math.h>
+#include <limits.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <arpa/inet.h>
--
2.51.2

This file was deleted.

4 changes: 2 additions & 2 deletions srcpkgs/iproute2/template
Original file line number Diff line number Diff line change
@@ -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"
Expand All @@ -12,7 +12,7 @@ maintainer="Enno Boland <gottox@voidlinux.org>"
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

Expand Down