From 048fdd0a612e36a9a816931af55603a6c6ee5ff2 Mon Sep 17 00:00:00 2001 From: Muhammad Moinur Rahman Date: Wed, 2 Aug 2023 18:20:20 +0200 Subject: [PATCH] editors/nvi-m17n: Fix build with llvm16 Approved by: portmgr (blanket) Sponsored by: The FreeBSD Foundation --- editors/nvi-m17n/Makefile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/editors/nvi-m17n/Makefile b/editors/nvi-m17n/Makefile index 6485e1913f70f..ff61a12e498ce 100644 --- a/editors/nvi-m17n/Makefile +++ b/editors/nvi-m17n/Makefile @@ -56,6 +56,10 @@ CANNA_DESC= Enable canna support .include +.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}