Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 24 Jun 2023 12:03:59 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: a62cb1f670c3 - main - devel/py-fam: Fix build with llvm16
Message-ID:  <202306241203.35OC3x1U015390@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=a62cb1f670c31ea80bbf73c18812d411b8b18028

commit a62cb1f670c31ea80bbf73c18812d411b8b18028
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2023-06-24 11:16:44 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2023-06-24 12:03:41 +0000

    devel/py-fam: Fix build with llvm16
    
    Sponsored by:   The FreeBSD Foundation
---
 devel/py-fam/Makefile | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/devel/py-fam/Makefile b/devel/py-fam/Makefile
index 4b845c503fe3..96adf88ce722 100644
--- a/devel/py-fam/Makefile
+++ b/devel/py-fam/Makefile
@@ -16,16 +16,20 @@ LICENSE_FILE=	${WRKSRC}/COPYING
 USES=		python:3.6+ fam
 USE_PYTHON=	distutils autoplist
 
-.include <bsd.port.pre.mk>
+.include <bsd.port.options.mk>
 
 .if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 ))
 CFLAGS+=	-Wno-error=int-conversion
 .endif
 
+.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091
+CFLAGS+=	-Wno-error=incompatible-function-pointer-types
+.endif
+
 pre-patch:
 	${INSTALL_DATA} ${FILESDIR}/setup.py ${WRKSRC}
 
 post-install:
 	${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/_fam*.so
 
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>



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