Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 24 Jun 2023 20:49:25 GMT
From:      Muhammad Moinur Rahman <bofh@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 823b31687b9d - main - japanese/FreeWnn-lib: Fix build with llvm16
Message-ID:  <202306242049.35OKnPkJ073571@gitrepo.freebsd.org>

index | next in thread | raw e-mail

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>


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202306242049.35OKnPkJ073571>