print/bibview: Fix build with llvm16

Approved by:	portmgr (blanket)
Sponsored by:	The FreeBSD Foundation
This commit is contained in:
Muhammad Moinur Rahman 2023-08-02 15:27:07 +02:00
parent fc6aa52305
commit ee16c7da92

View file

@ -11,4 +11,10 @@ USES= imake xorg
USE_XORG= ice sm x11 xaw xext xmu xt
WRKSRC= ${WRKDIR}/bibview-${PORTVERSION}
.include <bsd.port.options.mk>
.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 ))
CFLAGS+= -Wno-error=incompatible-function-pointer-types
.endif
.include <bsd.port.mk>