Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 26 Jun 2023 12:16:14 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: b0e420a2c775 - main - graphics/py-pygeos: Fix build with llvm16
Message-ID:  <202306261216.35QCGEcq099957@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=b0e420a2c7756290f5aba667282e282c2d70f7eb

commit b0e420a2c7756290f5aba667282e282c2d70f7eb
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2023-06-26 11:37:13 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2023-06-26 12:16:00 +0000

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

diff --git a/graphics/py-pygeos/Makefile b/graphics/py-pygeos/Makefile
index 89e7a45facbd..a4a08c6ffe37 100644
--- a/graphics/py-pygeos/Makefile
+++ b/graphics/py-pygeos/Makefile
@@ -20,6 +20,12 @@ RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}numpy>=1.13,1:math/py-numpy@${PY_FLAVOR}
 USES=		python:3.8+
 USE_PYTHON=	autoplist concurrent cython pep517
 
+.include <bsd.port.options.mk>
+
+.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091
+CFLAGS+=	-Wno-error=incompatible-function-pointer-types
+.endif
+
 post-install:
 	${FIND} ${STAGEDIR}${PYTHON_SITELIBDIR} -name '*.so' -exec ${STRIP_CMD} {} +
 



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