diff options
| author | Emanuel Haupt <ehaupt@FreeBSD.org> | 2026-07-11 10:58:43 +0000 |
|---|---|---|
| committer | Emanuel Haupt <ehaupt@FreeBSD.org> | 2026-07-11 12:36:00 +0000 |
| commit | b58cd2fcc0590122badd493a528ff9b897b51d93 (patch) | |
| tree | 7d4ad0ed3c8080f8ff571ee63d9c32e499fb60a5 | |
| parent | a065e3e4f6b2fa648de8bfc08a8605c43734f870 (diff) | |
net/nfstrace: Fix build with json-c 0.19
json-c 0.19 added static inline accessors to <json-c/linkhash.h>,
which trigger -Wunused-function when building the bundled JSON
analyzer with -Werror.
Suppress the warning by adding -Wno-unused-function to CFLAGS.
Reported by: olgeni
Differential Revision: https://reviews.freebsd.org/D58135
| -rw-r--r-- | net/nfstrace/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/nfstrace/Makefile b/net/nfstrace/Makefile index cf6266fc4ab2..4682d02e7ce3 100644 --- a/net/nfstrace/Makefile +++ b/net/nfstrace/Makefile @@ -1,6 +1,6 @@ PORTNAME= nfstrace DISTVERSION= 0.4.3.2 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= net MAINTAINER= ehaupt@FreeBSD.org @@ -17,7 +17,7 @@ USE_GITHUB= yes GH_ACCOUNT= epam CMAKE_ARGS+= -DJSON_INCLUDE_DIR="${LOCALBASE}/include/json-c" -CFLAGS+= -Wno-deprecated-copy -Wno-format +CFLAGS+= -Wno-deprecated-copy -Wno-format -Wno-unused-function .include <bsd.port.options.mk> |
