From 1b85c71bb726baf5c015942423f28dfacddbe5eb Mon Sep 17 00:00:00 2001 From: Mateusz Sylwestrzak Date: Wed, 8 Apr 2026 14:22:59 +0200 Subject: [PATCH] nfs-utils: update to 2.9.1 --- srcpkgs/nfs-utils/patches/musl-includes.patch | 19 +++++++++++++++++++ srcpkgs/nfs-utils/template | 4 ++-- 2 files changed, 21 insertions(+), 2 deletions(-) diff --git a/srcpkgs/nfs-utils/patches/musl-includes.patch b/srcpkgs/nfs-utils/patches/musl-includes.patch index 4c220338bf65b9..40279d25b045f5 100644 --- a/srcpkgs/nfs-utils/patches/musl-includes.patch +++ b/srcpkgs/nfs-utils/patches/musl-includes.patch @@ -9,3 +9,22 @@ missing include for basename(3) #include #include + +strerror() is declared in . Without this header, the +function is implicitly declared as returning int instead of char *. + +This causes a type mismatch when passing its return value to "%s" +format specifiers, leading to build failures on musl. + +Add the missing include to provide the correct prototype. + +--- a/support/nfs/fh_key_file.c 2026-04-04 11:27:07.000000000 +0200 ++++ b/support/nfs/fh_key_file.c 2026-04-08 14:41:46.500051425 +0200 +@@ -26,6 +26,7 @@ + #include + #include + #include ++#include + #include + + #include "nfslib.h" diff --git a/srcpkgs/nfs-utils/template b/srcpkgs/nfs-utils/template index 16822e816f551e..8f9786cf222cb9 100644 --- a/srcpkgs/nfs-utils/template +++ b/srcpkgs/nfs-utils/template @@ -1,6 +1,6 @@ # Template file for 'nfs-utils' pkgname=nfs-utils -version=2.8.7 +version=2.9.1 revision=1 build_style=gnu-configure configure_args="--with-statduser=nobody --enable-gss --enable-nfsv4 @@ -14,7 +14,7 @@ license="GPL-2.0-or-later" homepage="https://www.linux-nfs.org/" changelog="https://www.kernel.org/pub/linux/utils/nfs-utils/${version}/${version}-Changelog" distfiles="${KERNEL_SITE}/utils/${pkgname}/${version}/${pkgname}-${version}.tar.xz" -checksum=59d0f1e17b18efaa60ea3ccf89a9cad3217f8d3b23c18d2fe34b25c8969d60ae +checksum=302846343bf509f8f884c23bdbd0fe853b7f7cbb6572060a9082279d13b21a2c replaces="rpcgen>=0" hostmakedepends="pkg-config libtirpc-devel rpcsvc-proto mit-krb5-devel"