git: 048fdd0a612e - main - editors/nvi-m17n: Fix build with llvm16
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 02 Aug 2023 16:22:35 UTC
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}