diff options
author | Muhammad Moinur Rahman <bofh@FreeBSD.org> | 2023-08-02 16:20:20 +0000 |
---|---|---|
committer | Muhammad Moinur Rahman <bofh@FreeBSD.org> | 2023-08-02 16:22:20 +0000 |
commit | 048fdd0a612e36a9a816931af55603a6c6ee5ff2 (patch) | |
tree | 5360b7d19f524114dcf40f2d2d37ef17a23e685b | |
parent | 115ff551f25f6d6a72239c019ac2bb0a6028b819 (diff) | |
download | ports-048fdd0a612e36a9a816931af55603a6c6ee5ff2.tar.gz ports-048fdd0a612e36a9a816931af55603a6c6ee5ff2.zip |
editors/nvi-m17n: Fix build with llvm16
Approved by: portmgr (blanket)
Sponsored by: The FreeBSD Foundation
-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} |