Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 26 Jun 2023 12:16:22 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: 5478a5060cd4 - main - japanese/libskk: Fix build with llvm16
Message-ID:  <202306261216.35QCGMtd000137@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by bofh:

URL: https://cgit.FreeBSD.org/ports/commit/?id=5478a5060cd45e86282e75f8c7824e06868460bb

commit 5478a5060cd45e86282e75f8c7824e06868460bb
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2023-06-26 12:08:23 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2023-06-26 12:16:02 +0000

    japanese/libskk: Fix build with llvm16
    
    Approved by:    portmgr (blanket)
    Sponsored by:   The FreeBSD Foundation
---
 japanese/libskk/Makefile | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/japanese/libskk/Makefile b/japanese/libskk/Makefile
index 03323773ab02..d045e9d70004 100644
--- a/japanese/libskk/Makefile
+++ b/japanese/libskk/Makefile
@@ -33,6 +33,12 @@ NLS_CONFIGURE_ENABLE=	nls
 NLS_USES=	gettext
 NLS_USES_OFF=	gettext-tools
 
+.include <bsd.port.options.mk>
+
+.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091
+CFLAGS+=	-Wno-error=incompatible-function-pointer-types
+.endif
+
 post-install-DOCS-on:
 	@${MKDIR} ${STAGEDIR}${DOCSDIR}
 	${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}



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