Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 7 Aug 2023 00:34:31 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: 54a44c5ab241 - main - www/newsboat: Fix build with llvm16
Message-ID:  <202308070034.3770YVth042925@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=54a44c5ab241b01f8e03a945ff98ba541739cfe5

commit 54a44c5ab241b01f8e03a945ff98ba541739cfe5
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2023-08-07 00:21:16 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2023-08-07 00:21:16 +0000

    www/newsboat: Fix build with llvm16
    
    Approved by:    portmgr (blanket)
    Sponsored by:   The FreeBSD Foundation
---
 www/newsboat/Makefile | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/www/newsboat/Makefile b/www/newsboat/Makefile
index 82e886d31324..ae47e0025269 100644
--- a/www/newsboat/Makefile
+++ b/www/newsboat/Makefile
@@ -33,6 +33,12 @@ CARGO_TARGET_DIR=	${WRKSRC}/target
 
 OPTIONS_DEFINE=	DOCS
 
+.include <bsd.port.options.mk>
+
+.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 ))
+CFLAGS+=	-Wno-error=incompatible-function-pointer-types
+.endif
+
 post-patch:
 	@${REINPLACE_CMD} -e 's,fail "ncursesw",true,; s,fail "libcrypto",true,' \
 		-e 's,fail "libssl",true,' \



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