git: 128bdf55174c - main - devel/cjose: Fix build with llvm15
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 12 Jun 2023 19:45:35 UTC
The branch main has been updated by bofh: URL: https://cgit.FreeBSD.org/ports/commit/?id=128bdf55174c5a87cd2dcf5345ac56a9df8285d9 commit 128bdf55174c5a87cd2dcf5345ac56a9df8285d9 Author: Muhammad Moinur Rahman <bofh@FreeBSD.org> AuthorDate: 2023-06-12 19:37:29 +0000 Commit: Muhammad Moinur Rahman <bofh@FreeBSD.org> CommitDate: 2023-06-12 19:45:16 +0000 devel/cjose: Fix build with llvm15 Approved by: portmgr (blanket) --- devel/cjose/Makefile | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/devel/cjose/Makefile b/devel/cjose/Makefile index 52f27bd72738..e657681e2eac 100644 --- a/devel/cjose/Makefile +++ b/devel/cjose/Makefile @@ -24,4 +24,10 @@ GH_ACCOUNT= cisco GNU_CONFIGURE= yes CONFIGURE_ARGS= --with-jansson=${PREFIX} --with-openssl=${OPENSSLBASE} +.include <bsd.port.options.mk> + +.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 )) +CFLAGS+= -Wno-error=strict-prototypes +.endif + .include <bsd.port.mk>