japanese/kdrill: Fix build with llvm16

Approved by:	portmgr (blanket)
Sponsored by:	The FreeBSD Foundation
This commit is contained in:
Muhammad Moinur Rahman 2023-08-02 18:16:07 +02:00
parent 634444122f
commit 115ff551f2

View file

@ -15,6 +15,12 @@ USE_XORG= ice sm x11 xaw xext xmu xpm xt
DATADIR= ${PREFIX}/share/dict/kdrill
.include <bsd.port.options.mk>
.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 ))
CFLAGS+= -Wno-error=incompatible-function-pointer-types
.endif
post-build:
@(cd ${WRKSRC}/makedic && ${DO_MAKE_BUILD} ${ALL_TARGET})