Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 20 Jul 2023 17:43:27 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: 9edb5a5cb595 - main - graphics/py-pyvips: Fix build with llvm16
Message-ID:  <202307201743.36KHhRRc036742@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=9edb5a5cb595d3e5ec3c1f9ec3fa40210b404e0b

commit 9edb5a5cb595d3e5ec3c1f9ec3fa40210b404e0b
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2023-07-20 15:24:33 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2023-07-20 17:42:37 +0000

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

diff --git a/graphics/py-pyvips/Makefile b/graphics/py-pyvips/Makefile
index ffba6186f060..c8567d469065 100644
--- a/graphics/py-pyvips/Makefile
+++ b/graphics/py-pyvips/Makefile
@@ -22,6 +22,12 @@ USES=		gnome python
 USE_GNOME=	glib20
 USE_PYTHON=	autoplist concurrent distutils
 
+.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?202307201743.36KHhRRc036742>