Date: Wed, 2 Aug 2023 16:22:35 GMT From: Muhammad Moinur Rahman <bofh@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: 048fdd0a612e - main - editors/nvi-m17n: Fix build with llvm16 Message-ID: <202308021622.372GMZ8o035929@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by bofh: URL: https://cgit.FreeBSD.org/ports/commit/?id=048fdd0a612e36a9a816931af55603a6c6ee5ff2 commit 048fdd0a612e36a9a816931af55603a6c6ee5ff2 Author: Muhammad Moinur Rahman <bofh@FreeBSD.org> AuthorDate: 2023-08-02 16:20:20 +0000 Commit: Muhammad Moinur Rahman <bofh@FreeBSD.org> CommitDate: 2023-08-02 16:22:20 +0000 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 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}
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202308021622.372GMZ8o035929>