From 823b31687b9d14ec0b47687b4b4a58b5726e164f Mon Sep 17 00:00:00 2001 From: Muhammad Moinur Rahman Date: Sat, 24 Jun 2023 21:09:10 +0200 Subject: [PATCH] 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 a22b74848c5b7..1ccf40166e6ce 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 + +.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091 +CFLAGS+= -Wno-error=incompatible-function-pointer-types +.endif + .include