Skip to content

Commit

Permalink
editors/nvi-m17n: Fix build with llvm16
Browse files Browse the repository at this point in the history
Approved by:	portmgr (blanket)
Sponsored by:	The FreeBSD Foundation
  • Loading branch information
5u623l20 committed Aug 2, 2023
1 parent 115ff55 commit 048fdd0
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions editors/nvi-m17n/Makefile
Expand Up @@ -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}
Expand Down

0 comments on commit 048fdd0

Please sign in to comment.