Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 2 Aug 2023 14:17:11 GMT
From:      Muhammad Moinur Rahman <bofh@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: ee16c7da922c - main - print/bibview: Fix build with llvm16
Message-ID:  <202308021417.372EHBeB021370@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202308021417.372EHBeB021370>