Skip to content

Commit

Permalink
www/newsboat: Fix build with llvm16
Browse files Browse the repository at this point in the history
Approved by:	portmgr (blanket)
Sponsored by:	The FreeBSD Foundation
  • Loading branch information
5u623l20 committed Aug 7, 2023
1 parent 21a853f commit 54a44c5
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions www/newsboat/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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,' \
Expand Down

0 comments on commit 54a44c5

Please sign in to comment.