git: 073178561a1e - main - games/oolite: Fix build with llvm16
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 07 Aug 2023 12:27:11 UTC
The branch main has been updated by bofh: URL: https://cgit.FreeBSD.org/ports/commit/?id=073178561a1e15717e837245448b7fcf362cbc6c commit 073178561a1e15717e837245448b7fcf362cbc6c Author: Muhammad Moinur Rahman <bofh@FreeBSD.org> AuthorDate: 2023-08-07 12:26:31 +0000 Commit: Muhammad Moinur Rahman <bofh@FreeBSD.org> CommitDate: 2023-08-07 12:26:31 +0000 games/oolite: Fix build with llvm16 Approved by: portmgr (blanket) Sponsored by: The FreeBSD Foundation --- games/oolite/Makefile | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/games/oolite/Makefile b/games/oolite/Makefile index 1e4805cbaa02..13d416bb0cdb 100644 --- a/games/oolite/Makefile +++ b/games/oolite/Makefile @@ -58,6 +58,12 @@ BROKEN_armv6= fails to compile: your compiler does not follow the C++ specifica BROKEN_armv7= fails to compile: your compiler does not follow the C++ specification for temporary object destruction order BROKEN_i386= fails to compile: ../methodjit/MethodJIT.cpp:318:5: error: expected '(' after 'asm' +.include <bsd.port.options.mk> + +.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 )) +ADDITIONAL_CPPFLAGS+= -Wno-error=incompatible-function-pointer-types +.endif + post-patch: .SILENT ${REINPLACE_CMD} -e 's/GNUSTEP_USER_ROOT/GNUSTEP_LOCAL_ROOT/ ; \ s/sdl-config/$${SDL_CONFIG}/ ; \