git: 54a44c5ab241 - main - www/newsboat: Fix build with llvm16
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 07 Aug 2023 00:34:31 UTC
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,' \