summaryrefslogtreecommitdiff
path: root/editors/nvi-m17n
diff options
context:
space:
mode:
authorMuhammad Moinur Rahman <bofh@FreeBSD.org>2023-08-02 18:20:20 +0200
committerMuhammad Moinur Rahman <bofh@FreeBSD.org>2023-08-02 18:22:20 +0200
commit048fdd0a612e36a9a816931af55603a6c6ee5ff2 (patch)
tree5360b7d19f524114dcf40f2d2d37ef17a23e685b /editors/nvi-m17n
parentjapanese/kdrill: Fix build with llvm16 (diff)
editors/nvi-m17n: Fix build with llvm16
Approved by: portmgr (blanket) Sponsored by: The FreeBSD Foundation
Diffstat (limited to 'editors/nvi-m17n')
-rw-r--r--editors/nvi-m17n/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/editors/nvi-m17n/Makefile b/editors/nvi-m17n/Makefile
index 6485e1913f70..ff61a12e498c 100644
--- a/editors/nvi-m17n/Makefile
+++ b/editors/nvi-m17n/Makefile
@@ -56,6 +56,10 @@ CANNA_DESC= Enable canna support
.include <bsd.port.pre.mk>
+.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 ))
+CFLAGS+= -Wno-error=incompatible-function-pointer-types
+.endif
+
.if ${PORT_OPTIONS:MEUC_JP}
CONFIGURE_ARGS+= --enable-multibyte=euc-jp
.elif ${PORT_OPTIONS:MEUC_CN}