Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 20 Jul 2023 10:22:54 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: 4b8907e61a90 - main - devel/z80-asm: Fix build with llvm16
Message-ID:  <202307201022.36KAMsVu007305@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=4b8907e61a905fa8ee76a859b4bd06f1ed2b5e1f

commit 4b8907e61a905fa8ee76a859b4bd06f1ed2b5e1f
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2023-07-20 09:33:55 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2023-07-20 10:22:39 +0000

    devel/z80-asm: Fix build with llvm16
    
    Sponsored by:   The FreeBSD Foundation
---
 devel/z80-asm/Makefile | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/devel/z80-asm/Makefile b/devel/z80-asm/Makefile
index 88377e16ca2e..220e42101ae0 100644
--- a/devel/z80-asm/Makefile
+++ b/devel/z80-asm/Makefile
@@ -22,6 +22,12 @@ PORTDOCS=	CHANGELOG README TODO z80-asm.html z80-mon.html
 
 OPTIONS_DEFINE=	DOCS
 
+.include <bsd.port.options.mk>
+
+.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091
+CFLAGS+=	-Wno-error=incompatible-function-pointer-types
+.endif
+
 post-extract:
 	@${TOUCH} ${WRKSRC}/hardware/bus_masters
 



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