Date: Wed, 18 Feb 2026 20:54:24 +0000 From: Emanuel Haupt <ehaupt@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-branches@FreeBSD.org Subject: git: 3fc7967ade08 - 2026Q1 - net/nfstrace: Fix build on 16.0-CURRENT Message-ID: <69962700.21086.1c0bfff0@gitrepo.freebsd.org>
index | next in thread | raw e-mail
The branch 2026Q1 has been updated by ehaupt: URL: https://cgit.FreeBSD.org/ports/commit/?id=3fc7967ade081ea7ebc5f1d80cb71a0434cd7d05 commit 3fc7967ade081ea7ebc5f1d80cb71a0434cd7d05 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:54:18 +0000 net/nfstrace: Fix build on 16.0-CURRENT (cherry picked from commit 6156198d03e8b724914cb3e9aa829b8f741f55f6) --- 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?69962700.21086.1c0bfff0>
