Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 26 Jun 2023 08:16:28 GMT
From:      Antoine Brodin <antoine@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: b07a26817293 - main - net/py-pyfixbuf: fix build with llvm 16
Message-ID:  <202306260816.35Q8GSAp001442@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by antoine:

URL: https://cgit.FreeBSD.org/ports/commit/?id=b07a268172931ffc436988a57e9aec2f22523f39

commit b07a268172931ffc436988a57e9aec2f22523f39
Author:     Antoine Brodin <antoine@FreeBSD.org>
AuthorDate: 2023-06-26 08:16:09 +0000
Commit:     Antoine Brodin <antoine@FreeBSD.org>
CommitDate: 2023-06-26 08:16:09 +0000

    net/py-pyfixbuf: fix build with llvm 16
---
 net/py-pyfixbuf/Makefile | 10 ++++++++--
 1 file changed, 8 insertions(+), 2 deletions(-)

diff --git a/net/py-pyfixbuf/Makefile b/net/py-pyfixbuf/Makefile
index 50cd2ea98a22..605517425ac9 100644
--- a/net/py-pyfixbuf/Makefile
+++ b/net/py-pyfixbuf/Makefile
@@ -16,7 +16,13 @@ LICENSE_PERMS_GPLR=	dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
 
 LIB_DEPENDS=	libfixbuf.so:net/libfixbuf
 
-USES=		pkgconfig python:3.6+
+USES=		compiler pkgconfig python
 USE_PYTHON=	distutils autoplist
 
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${COMPILER_TYPE} == clang && ${COMPILER_VERSION} >= 160
+CPPFLAGS+=	-Wno-error=incompatible-function-pointer-types
+.endif
+
+.include <bsd.port.post.mk>



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