git: 4b8907e61a90 - main - devel/z80-asm: Fix build with llvm16
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 20 Jul 2023 10:22:54 UTC
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