{chinese,japanese,korean}/FreeWnn-server: Fix build with llvm16
Approved by: portmgr (blanket) Sponsored by: The FreeBSD Foundation
This commit is contained in:
parent
172c0c5438
commit
c8234c33e7
|
@ -34,4 +34,14 @@ KWNN_CONFIGURE_ON+= --with-libkwnn=-lkwnn \
|
|||
--with-kwnn-libraries="${PREFIX}/lib"
|
||||
KWNN_USE= RC_SUBR=kwnn
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 ))
|
||||
CFLAGS+= -Wno-error=int-conversion
|
||||
.endif
|
||||
|
||||
.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 ))
|
||||
CFLAGS+= -Wno-error=incompatible-function-pointer-types
|
||||
.endif
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
|
Loading…
Reference in New Issue