git: 5478a5060cd4 - main - japanese/libskk: Fix build with llvm16
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 26 Jun 2023 12:16:22 UTC
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}