diff options
author | Muhammad Moinur Rahman <bofh@FreeBSD.org> | 2023-08-02 13:27:07 +0000 |
---|---|---|
committer | Muhammad Moinur Rahman <bofh@FreeBSD.org> | 2023-08-02 14:16:41 +0000 |
commit | ee16c7da922c680d6a1e5b9714b91f8d90f71a48 (patch) | |
tree | b04945cc3f7cda43767f1219da4bacadb0279059 | |
parent | fc6aa52305b4f661368197a4662d065c101632a4 (diff) | |
download | ports-ee16c7da922c680d6a1e5b9714b91f8d90f71a48.tar.gz ports-ee16c7da922c680d6a1e5b9714b91f8d90f71a48.zip |
print/bibview: Fix build with llvm16
Approved by: portmgr (blanket)
Sponsored by: The FreeBSD Foundation
-rw-r--r-- | print/bibview/Makefile | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/print/bibview/Makefile b/print/bibview/Makefile index 7ca9e2579f57..c11754787065 100644 --- a/print/bibview/Makefile +++ b/print/bibview/Makefile @@ -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> |