git: 6156198d03e8 - main - net/nfstrace: Fix build on 16.0-CURRENT
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 18 Feb 2026 20:53:48 UTC
The branch main has been updated by ehaupt:
URL: https://cgit.FreeBSD.org/ports/commit/?id=6156198d03e8b724914cb3e9aa829b8f741f55f6
commit 6156198d03e8b724914cb3e9aa829b8f741f55f6
Author: Emanuel Haupt <ehaupt@FreeBSD.org>
AuthorDate: 2026-02-18 20:53:41 +0000
Commit: Emanuel Haupt <ehaupt@FreeBSD.org>
CommitDate: 2026-02-18 20:53:41 +0000
net/nfstrace: Fix build on 16.0-CURRENT
---
net/nfstrace/Makefile | 8 +++++++-
.../files/extra-patch-src_protocols_nfs_nfs__procedure.h | 12 ++++++++++++
2 files changed, 19 insertions(+), 1 deletion(-)
diff --git a/net/nfstrace/Makefile b/net/nfstrace/Makefile
index 90d41cdba0ff..cf6266fc4ab2 100644
--- a/net/nfstrace/Makefile
+++ b/net/nfstrace/Makefile
@@ -1,6 +1,6 @@
PORTNAME= nfstrace
DISTVERSION= 0.4.3.2
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= net
MAINTAINER= ehaupt@FreeBSD.org
@@ -19,4 +19,10 @@ GH_ACCOUNT= epam
CMAKE_ARGS+= -DJSON_INCLUDE_DIR="${LOCALBASE}/include/json-c"
CFLAGS+= -Wno-deprecated-copy -Wno-format
+.include <bsd.port.options.mk>
+
+.if ${OSVERSION} >= 1600000
+EXTRA_PATCHES= ${PATCHDIR}/extra-patch-src_protocols_nfs_nfs__procedure.h
+.endif
+
.include <bsd.port.mk>
diff --git a/net/nfstrace/files/extra-patch-src_protocols_nfs_nfs__procedure.h b/net/nfstrace/files/extra-patch-src_protocols_nfs_nfs__procedure.h
new file mode 100644
index 000000000000..312e2892ae50
--- /dev/null
+++ b/net/nfstrace/files/extra-patch-src_protocols_nfs_nfs__procedure.h
@@ -0,0 +1,12 @@
+--- src/protocols/nfs/nfs_procedure.h.orig 2017-01-31 21:48:12 UTC
++++ src/protocols/nfs/nfs_procedure.h
+@@ -117,8 +117,7 @@ class NFSProcedure : public NST::API::RPCProcedure (pr
+ ResType* pres;
+
+ private:
+- inline static bool_t return_true(XDR*, void*, ...) { return 1; }
+- inline static bool_t return_true(XDR*, ...) { return 1; }
++ inline static bool_t return_true(XDR*, void*) { return 1; }
+ ArgType arg;
+ ResType res;
+ };