Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 20 Jul 2023 17:43:22 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: 05706f90a8f1 - main - devel/criterion: Fix build with llvm16
Message-ID:  <202307201743.36KHhMU9036659@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=05706f90a8f196ba6a92886c6f2bd5e2a3192dc9

commit 05706f90a8f196ba6a92886c6f2bd5e2a3192dc9
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2023-07-20 14:29:30 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2023-07-20 17:42:36 +0000

    devel/criterion: Fix build with llvm16
    
    Approved by:    portmgr (blanket)
    Sponsored by:   The FreeBSD Foundation
---
 devel/criterion/Makefile | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/devel/criterion/Makefile b/devel/criterion/Makefile
index fbd8e2a66be6..bf011f60e4f7 100644
--- a/devel/criterion/Makefile
+++ b/devel/criterion/Makefile
@@ -37,6 +37,12 @@ CFLAGS+=	-fPIC \
 
 MESON_ARGS=	-Dtests=false -Dsamples=false
 
+.include <bsd.port.options.mk>
+
+.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091
+CFLAGS+=	-Wno-error=incompatible-function-pointer-types
+.endif
+
 quick-test:
 	@cd ${TEST_WRKSRC} && \
 		${CC} ${CFLAGS} ${LDFLAGS} -I${STAGEDIR}${PREFIX}/include \



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