git: ee16c7da922c - main - print/bibview: Fix build with llvm16
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 02 Aug 2023 14:17:11 UTC
The branch main has been updated by bofh: URL: https://cgit.FreeBSD.org/ports/commit/?id=ee16c7da922c680d6a1e5b9714b91f8d90f71a48 commit ee16c7da922c680d6a1e5b9714b91f8d90f71a48 Author: Muhammad Moinur Rahman <bofh@FreeBSD.org> AuthorDate: 2023-08-02 13:27:07 +0000 Commit: Muhammad Moinur Rahman <bofh@FreeBSD.org> CommitDate: 2023-08-02 14:16:41 +0000 print/bibview: Fix build with llvm16 Approved by: portmgr (blanket) Sponsored by: The FreeBSD Foundation --- print/bibview/Makefile | 6 ++++++ 1 file changed, 6 insertions(+) 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>