From 41e6653bb64a5b0914e8d68a0b0c6aa055b3cf51 Mon Sep 17 00:00:00 2001 From: Anthony Iliopoulos Date: Sun, 13 Feb 2022 08:58:24 +0000 Subject: [PATCH] iproute2: update to 5.16.0. --- ...0001-lib-fix-ax25.h-include-for-musl.patch | 36 +++++++++++++++++++ srcpkgs/iproute2/template | 4 +-- 2 files changed, 38 insertions(+), 2 deletions(-) create mode 100644 srcpkgs/iproute2/patches/0001-lib-fix-ax25.h-include-for-musl.patch diff --git a/srcpkgs/iproute2/patches/0001-lib-fix-ax25.h-include-for-musl.patch b/srcpkgs/iproute2/patches/0001-lib-fix-ax25.h-include-for-musl.patch new file mode 100644 index 000000000000..401965b0a348 --- /dev/null +++ b/srcpkgs/iproute2/patches/0001-lib-fix-ax25.h-include-for-musl.patch @@ -0,0 +1,36 @@ +From 8bced38a941a181f1468fa39541e872e51b6022f Mon Sep 17 00:00:00 2001 +From: Sam James +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 +Signed-off-by: Stephen Hemminger +--- + 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 + #include +-#include ++#include + + #include "utils.h" + +-- +2.35.1 + diff --git a/srcpkgs/iproute2/template b/srcpkgs/iproute2/template index 8f517150839a..9dbba00b6fe0 100644 --- a/srcpkgs/iproute2/template +++ b/srcpkgs/iproute2/template @@ -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 " 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