Date: Wed, 18 Feb 2026 20:53:48 +0000 From: Emanuel Haupt <ehaupt@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: 6156198d03e8 - main - net/nfstrace: Fix build on 16.0-CURRENT Message-ID: <699626dc.21081.a0e1d62@gitrepo.freebsd.org>
index | next in thread | raw e-mail
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; + };home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?699626dc.21081.a0e1d62>
