Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 12 Jun 2023 19:45:35 GMT
From:      Muhammad Moinur Rahman <bofh@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 128bdf55174c - main - devel/cjose: Fix build with llvm15
Message-ID:  <202306121945.35CJjZ7U074243@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202306121945.35CJjZ7U074243>