Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 8 Aug 2023 01:49:11 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: dfbc45cbf00f - main - devel/sope2: Fix build with llvm16
Message-ID:  <202308080149.3781nBMN058497@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=dfbc45cbf00fe37dec9c0c2023e47efff9d2cf35

commit dfbc45cbf00fe37dec9c0c2023e47efff9d2cf35
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2023-08-08 01:16:33 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2023-08-08 01:48:39 +0000

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

diff --git a/devel/sope2/Makefile b/devel/sope2/Makefile
index 39c84d44d31e..aa70d82beba5 100644
--- a/devel/sope2/Makefile
+++ b/devel/sope2/Makefile
@@ -39,6 +39,12 @@ PGSQL_USES=		pgsql
 MYSQL_USES=		mysql
 MEMCACHED_RUN_DEPENDS=	${LOCALBASE}/bin/memcached:databases/memcached
 
+.include <bsd.port.options.mk>
+
+.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 ))
+ADDITIONAL_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?202308080149.3781nBMN058497>