Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 20 Jul 2023 17:43:06 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: 0271825ed8af - main - devel/py-pyyaml5: Fix build with llvm16
Message-ID:  <202307201743.36KHh6YM036376@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=0271825ed8afe41a8a0047eaa70bbc55a2ed8749

commit 0271825ed8afe41a8a0047eaa70bbc55a2ed8749
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2023-07-20 12:12:06 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2023-07-20 17:42:32 +0000

    devel/py-pyyaml5: Fix build with llvm16
    
    Sponsored by:   The FreeBSD Foundation
---
 devel/py-pyyaml5/Makefile | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/devel/py-pyyaml5/Makefile b/devel/py-pyyaml5/Makefile
index f67362350740..5e172b4a8147 100644
--- a/devel/py-pyyaml5/Makefile
+++ b/devel/py-pyyaml5/Makefile
@@ -38,6 +38,10 @@ PYDISTUTILS_SETUP+=		--without-libyaml
 NO_ARCH=			yes
 .endif
 
+.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091
+CFLAGS+=	-Wno-error=incompatible-function-pointer-types
+.endif
+
 post-install-EXAMPLES-on:
 	@(cd ${WRKSRC}/examples && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR}/)
 



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