git: 1040f28594a7 - main - emulators/hugo: Fix build with llvm16
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 24 Jun 2023 10:58:58 UTC
The branch main has been updated by bofh: URL: https://cgit.FreeBSD.org/ports/commit/?id=1040f28594a7a7b3873d5d976400845765574f76 commit 1040f28594a7a7b3873d5d976400845765574f76 Author: Muhammad Moinur Rahman <bofh@FreeBSD.org> AuthorDate: 2023-06-24 10:22:50 +0000 Commit: Muhammad Moinur Rahman <bofh@FreeBSD.org> CommitDate: 2023-06-24 10:58:47 +0000 emulators/hugo: Fix build with llvm16 Sponsored by: The FreeBSD Foundation --- emulators/hugo/Makefile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/emulators/hugo/Makefile b/emulators/hugo/Makefile index fcd3ea2b8e43..ddaf65c1bf59 100644 --- a/emulators/hugo/Makefile +++ b/emulators/hugo/Makefile @@ -52,4 +52,8 @@ SDL_MIXER_CFLAGS= -DOGG_SUPPORT CFLAGS+= -Wno-error=int-conversion .endif +.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091 +CFLAGS+= -Wno-error=incompatible-function-pointer-types +.endif + .include <bsd.port.post.mk>