diff options
author | Muhammad Moinur Rahman <bofh@FreeBSD.org> | 2023-08-02 18:20:20 +0200 |
---|---|---|
committer | Muhammad Moinur Rahman <bofh@FreeBSD.org> | 2023-08-02 18:22:20 +0200 |
commit | 048fdd0a612e36a9a816931af55603a6c6ee5ff2 (patch) | |
tree | 5360b7d19f524114dcf40f2d2d37ef17a23e685b /editors/nvi-m17n | |
parent | japanese/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/Makefile | 4 |
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} |