git: 55e566dcfbb5 - main - games/kevedit: Fix build with llvm16
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 25 Jul 2023 09:42:38 UTC
The branch main has been updated by bofh: URL: https://cgit.FreeBSD.org/ports/commit/?id=55e566dcfbb521cd98684f38bdaebb37529c6c8b commit 55e566dcfbb521cd98684f38bdaebb37529c6c8b Author: Muhammad Moinur Rahman <bofh@FreeBSD.org> AuthorDate: 2023-07-25 09:37:17 +0000 Commit: Muhammad Moinur Rahman <bofh@FreeBSD.org> CommitDate: 2023-07-25 09:42:19 +0000 games/kevedit: Fix build with llvm16 Approved by: portmgr (blanket) Sponsored by: The FreeBSD Foundation --- games/kevedit/Makefile | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/games/kevedit/Makefile b/games/kevedit/Makefile index ec18649986c9..385ffa048691 100644 --- a/games/kevedit/Makefile +++ b/games/kevedit/Makefile @@ -16,6 +16,13 @@ RUN_DEPENDS= cdrecord:sysutils/cdrtools USES= sdl USE_SDL= sdl + GNU_CONFIGURE= yes +.include <bsd.port.options.mk> + +.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091 +CFLAGS+= -Wno-error=incompatible-function-pointer-types +.endif + .include <bsd.port.mk>