Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 21 Jul 2023 15:42:00 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: 5ba6b281ed05 - main - devel/pecl-yac: Fix build with llvm16
Message-ID:  <202307211542.36LFg0iX021796@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=5ba6b281ed051ecb95f7f9e63e5626252d3a79b2

commit 5ba6b281ed051ecb95f7f9e63e5626252d3a79b2
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2023-07-21 15:30:58 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2023-07-21 15:41:48 +0000

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

diff --git a/devel/pecl-yac/Makefile b/devel/pecl-yac/Makefile
index f0f5145ccec0..bfdd7fa61fe5 100644
--- a/devel/pecl-yac/Makefile
+++ b/devel/pecl-yac/Makefile
@@ -16,4 +16,10 @@ MSGPACK_DESC=	Enable MSGPACK module
 MSGPACK_BUILD_DEPENDS=	${LOCALBASE}/lib/php/${PHP_EXT_DIR}/msgpack.so:devel/pecl-msgpack@${PHP_FLAVOR}
 MSGPACK_RUN_DEPENDS=	${LOCALBASE}/lib/php/${PHP_EXT_DIR}/msgpack.so:devel/pecl-msgpack@${PHP_FLAVOR}
 
+.include <bsd.port.options.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?202307211542.36LFg0iX021796>