Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 17 Aug 2023 04:33:35 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: 4ab9f21ba94c - main - lang/eisl: Fix build with llvm16
Message-ID:  <202308170433.37H4XZpX045693@gitrepo.freebsd.org>

index | next in thread | raw e-mail

The branch main has been updated by bofh:

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

commit 4ab9f21ba94cd09e05fa9579cc70ce28e6576cee
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2023-08-16 20:22:04 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2023-08-17 04:33:22 +0000

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

diff --git a/lang/eisl/Makefile b/lang/eisl/Makefile
index e25bc872a509..4ca7c0bbc63d 100644
--- a/lang/eisl/Makefile
+++ b/lang/eisl/Makefile
@@ -39,4 +39,8 @@ EXTRA_PATCHES=	${FILESDIR}/extra-patch-makefile
 CFLAGS+=	-Wno-error=int-conversion
 .endif
 
+.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400092 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 ))
+CFLAGS+=	-Wno-error=incompatible-function-pointer-types
+.endif
+
 .include <bsd.port.post.mk>


home | help

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