Skip to content

Commit 579c07e

Browse files
slymattzDuncaen
authored andcommitted
nfs-utils: update to 2.9.1
1 parent fa27ee1 commit 579c07e

2 files changed

Lines changed: 21 additions & 2 deletions

File tree

srcpkgs/nfs-utils/patches/musl-includes.patch

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,22 @@ missing include for basename(3)
99
#include <limits.h>
1010

1111
#include <netlink/genl/family.h>
12+
13+
strerror() is declared in <string.h>. Without this header, the
14+
function is implicitly declared as returning int instead of char *.
15+
16+
This causes a type mismatch when passing its return value to "%s"
17+
format specifiers, leading to build failures on musl.
18+
19+
Add the missing include to provide the correct prototype.
20+
21+
--- a/support/nfs/fh_key_file.c 2026-04-04 11:27:07.000000000 +0200
22+
+++ b/support/nfs/fh_key_file.c 2026-04-08 14:41:46.500051425 +0200
23+
@@ -26,6 +26,7 @@
24+
#include <sys/types.h>
25+
#include <unistd.h>
26+
#include <errno.h>
27+
+#include <string.h>
28+
#include <uuid/uuid.h>
29+
30+
#include "nfslib.h"

srcpkgs/nfs-utils/template

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Template file for 'nfs-utils'
22
pkgname=nfs-utils
3-
version=2.8.7
3+
version=2.9.1
44
revision=1
55
build_style=gnu-configure
66
configure_args="--with-statduser=nobody --enable-gss --enable-nfsv4
@@ -14,7 +14,7 @@ license="GPL-2.0-or-later"
1414
homepage="https://www.linux-nfs.org/"
1515
changelog="https://www.kernel.org/pub/linux/utils/nfs-utils/${version}/${version}-Changelog"
1616
distfiles="${KERNEL_SITE}/utils/${pkgname}/${version}/${pkgname}-${version}.tar.xz"
17-
checksum=59d0f1e17b18efaa60ea3ccf89a9cad3217f8d3b23c18d2fe34b25c8969d60ae
17+
checksum=302846343bf509f8f884c23bdbd0fe853b7f7cbb6572060a9082279d13b21a2c
1818
replaces="rpcgen>=0"
1919

2020
hostmakedepends="pkg-config libtirpc-devel rpcsvc-proto mit-krb5-devel"

0 commit comments

Comments
 (0)