Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 24 Jun 2023 12:04:02 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: 9b0e49b745dd - main - lang/cim: Fix build with llvm16
Message-ID:  <202306241204.35OC42kk015436@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=9b0e49b745ddc371072a6ca0aebb4861dcec1e04

commit 9b0e49b745ddc371072a6ca0aebb4861dcec1e04
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2023-06-24 11:20:14 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2023-06-24 12:03:42 +0000

    lang/cim: Fix build with llvm16
    
    Sponsored by:   The FreeBSD Foundation
---
 lang/cim/Makefile | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/lang/cim/Makefile b/lang/cim/Makefile
index bfda9b1218e3..d1ca3f019b0e 100644
--- a/lang/cim/Makefile
+++ b/lang/cim/Makefile
@@ -22,10 +22,14 @@ TEST_WRKSRC=	${WRKSRC}/test
 
 INFO=		cim
 
-.include <bsd.port.pre.mk>
+.include <bsd.port.options.mk>
 
 .if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 ))
 CFLAGS+=	-Wno-error=int-conversion
 .endif
 
-.include <bsd.port.post.mk>
+.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091
+CFLAGS+=	-Wno-error=incompatible-function-pointer-types
+.endif
+
+.include <bsd.port.mk>



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