iproute2: update to 5.16.0.

This commit is contained in:
Anthony Iliopoulos 2022-02-13 08:58:24 +00:00 committed by Leah Neukirchen
parent bc00558485
commit d752ab8f90
2 changed files with 38 additions and 2 deletions

View file

@ -0,0 +1,36 @@
From 8bced38a941a181f1468fa39541e872e51b6022f Mon Sep 17 00:00:00 2001
From: Sam James <sam@gentoo.org>
Date: Thu, 13 Jan 2022 08:14:13 +0000
Subject: [PATCH] lib: fix ax25.h include for musl
ax25.h isn't guaranteed to be avilable in netax25/*;
it's dependent on our choice of libc (it's not available
on musl at least) [0].
Let's use the version from linux-headers.
[0] https://sourceware.org/glibc/wiki/Synchronizing_Headers
Bug: https://bugs.gentoo.org/831102
Signed-off-by: Sam James <sam@gentoo.org>
Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
---
lib/ax25_ntop.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/ax25_ntop.c b/lib/ax25_ntop.c
index cfd0e04b06f9..3a72a43e9b77 100644
--- a/lib/ax25_ntop.c
+++ b/lib/ax25_ntop.c
@@ -2,7 +2,7 @@
#include <errno.h>
#include <sys/socket.h>
-#include <netax25/ax25.h>
+#include <linux/ax25.h>
#include "utils.h"
--
2.35.1

View file

@ -1,6 +1,6 @@
# Template file for 'iproute2'
pkgname=iproute2
version=5.12.0
version=5.16.0
revision=1
build_style=configure
make_install_args="SBINDIR=/usr/bin"
@ -11,7 +11,7 @@ maintainer="Enno Boland <gottox@voidlinux.org>"
license="GPL-2.0-only"
homepage="https://wiki.linuxfoundation.org/networking/iproute2"
distfiles="${KERNEL_SITE}/utils/net/${pkgname}/${pkgname}-${version}.tar.xz"
checksum=9d268db98a36ee2a0e3ff3b92b2efff66fc1138a51e409bdef6ab3cfe15f326f
checksum=c064b66f6b001c2a35aa5224b5b1ac8aa4bee104d7dce30d6f10a84cb8b01e2f
conf_files="
/etc/iproute2/ematch_map