iproute2: update to 7.1.0.
This commit is contained in:
@@ -1,51 +0,0 @@
|
||||
From 987be669151005097c84d842563b45e0d04c9be5 Mon Sep 17 00:00:00 2001
|
||||
From: Sergei Trofimovich <slyich@gmail.com>
|
||||
Date: Mon, 23 Feb 2026 22:34:35 +0000
|
||||
Subject: [PATCH] include/json_print.h: add includes for `__u32` and `timeval`
|
||||
declarations
|
||||
MIME-Version: 1.0
|
||||
Content-Type: text/plain; charset=UTF-8
|
||||
Content-Transfer-Encoding: 8bit
|
||||
|
||||
Without the change the build fails on `musl` as:
|
||||
|
||||
```
|
||||
../include/json_print.h:100:44: error: unknown type name ‘__u32’
|
||||
100 | unsigned int print_range(const char *name, __u32 start, __u32 end);
|
||||
| ^~~~~
|
||||
...
|
||||
../include/json_print.h:82:30: warning: ‘struct timeval’ declared inside parameter list will not be visible outside of this definition or declaration
|
||||
82 | _PRINT_FUNC(tv, const struct timeval *)
|
||||
| ^~~~~~~
|
||||
../include/json_print.h:57:45: note: in definition of macro ‘_PRINT_FUNC’
|
||||
57 | type value) \
|
||||
| ^~~~
|
||||
../include/json_print.h: In function ‘print_tv’:
|
||||
../include/json_print.h:60:48: error: passing argument 5 of ‘print_color_tv’ from incompatible pointer type [-Wincompatible-pointer-types]
|
||||
60 | value); \
|
||||
| ^~~~~
|
||||
| |
|
||||
| const struct timeval *
|
||||
```
|
||||
---
|
||||
include/json_print.h | 4 ++++
|
||||
1 file changed, 4 insertions(+)
|
||||
|
||||
diff --git a/include/json_print.h b/include/json_print.h
|
||||
index 59edd5b2..c0d6315f 100644
|
||||
--- a/include/json_print.h
|
||||
+++ b/include/json_print.h
|
||||
@@ -8,6 +8,10 @@
|
||||
#ifndef _JSON_PRINT_H_
|
||||
#define _JSON_PRINT_H_
|
||||
|
||||
+#include <sys/time.h> /* struct timeval typedef */
|
||||
+
|
||||
+#include <asm/types.h> /* __u32 typedef */
|
||||
+
|
||||
#include "json_writer.h"
|
||||
#include "color.h"
|
||||
|
||||
--
|
||||
2.52.0
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
# Template file for 'iproute2'
|
||||
pkgname=iproute2
|
||||
version=6.19.0
|
||||
version=7.1.0
|
||||
revision=1
|
||||
build_style=configure
|
||||
make_install_args="SBINDIR=/usr/bin"
|
||||
@@ -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=9332213d35480b647086a70c302de8568de83455a98774d35de216c4ce191006
|
||||
checksum=fd9fa1b95809417157ca83dd72957e3261bdbce896353cb936f80af0b33a4b5c
|
||||
# Requires unshare, which is not provided by chroot-util-linux.
|
||||
make_check=no
|
||||
|
||||
|
||||
Reference in New Issue
Block a user