Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 23 Jul 2023 20:02:41 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: 80c7427bbf53 - main - devel/sope: Fix build with llvm16
Message-ID:  <202307232002.36NK2fZ9025120@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=80c7427bbf53fa887189f413bdb6646954fa7cbc

commit 80c7427bbf53fa887189f413bdb6646954fa7cbc
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2023-07-23 19:35:42 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2023-07-23 20:02:30 +0000

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

diff --git a/devel/sope/Makefile b/devel/sope/Makefile
index 3ab48dd09f8f..52c317051d97 100644
--- a/devel/sope/Makefile
+++ b/devel/sope/Makefile
@@ -43,6 +43,12 @@ MEMCACHED_RUN_DEPENDS=	${LOCALBASE}/bin/memcached:databases/memcached
 MYSQL_USES=		mysql
 PGSQL_USES=		pgsql
 
+.include <bsd.port.options.mk>
+
+.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091
+CPPFLAGS+=	-Wno-error=incompatible-function-pointer-types
+.endif
+
 post-patch:
 	@${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|g' ${WRKSRC}/configure
 	@${REINPLACE_CMD} -e 's|gcc|${CC}|g' ${WRKSRC}/sope-core/NGStreams/configure



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