git: 823b31687b9d - main - japanese/FreeWnn-lib: Fix build with llvm16
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 24 Jun 2023 20:49:25 UTC
The branch main has been updated by bofh: URL: https://cgit.FreeBSD.org/ports/commit/?id=823b31687b9d14ec0b47687b4b4a58b5726e164f commit 823b31687b9d14ec0b47687b4b4a58b5726e164f Author: Muhammad Moinur Rahman <bofh@FreeBSD.org> AuthorDate: 2023-06-24 19:09:10 +0000 Commit: Muhammad Moinur Rahman <bofh@FreeBSD.org> CommitDate: 2023-06-24 20:48:36 +0000 japanese/FreeWnn-lib: Fix build with llvm16 Approved by: portmgr (blanket) Sponsored by: The FreeBSD Foundation --- japanese/FreeWnn-lib/Makefile | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/japanese/FreeWnn-lib/Makefile b/japanese/FreeWnn-lib/Makefile index a22b74848c5b..1ccf40166e6c 100644 --- a/japanese/FreeWnn-lib/Makefile +++ b/japanese/FreeWnn-lib/Makefile @@ -19,4 +19,10 @@ OPTIONS_DEFAULT?= LIB WNN MANLANG?= ja .include "${.CURDIR}/../../japanese/FreeWnn-lib/Makefile.common" +.include <bsd.port.options.mk> + +.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091 +CFLAGS+= -Wno-error=incompatible-function-pointer-types +.endif + .include <bsd.port.mk>