Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 Jul 2023 17:47:22 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: 54d851eb97e1 - main - math/py-levmar: Fix build with llvm16
Message-ID:  <202307261747.36QHlMS4053331@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=54d851eb97e17fca071eb30a32e836460eb46a6f

commit 54d851eb97e17fca071eb30a32e836460eb46a6f
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2023-07-26 17:46:41 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2023-07-26 17:47:06 +0000

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

diff --git a/math/py-levmar/Makefile b/math/py-levmar/Makefile
index 3e5e28f7451c..ea49e3ad6831 100644
--- a/math/py-levmar/Makefile
+++ b/math/py-levmar/Makefile
@@ -29,6 +29,10 @@ USE_PYTHON=	distutils autoplist
 CFLAGS+=	-Wno-error=int-conversion
 .endif
 
+.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 ))
+CFLAGS+=	-Wno-error=incompatible-function-pointer-types
+.endif
+
 post-patch:
 	@${REINPLACE_CMD} -e 's|รถ|o|' ${WRKSRC}/AUTHORS # breaks because of non-ascii chars
 



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