Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 3 Sep 2023 10:27:10 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: f3a0b13a6d73 - main - deskutils/helpviewer: Fix build with llvm16
Message-ID:  <202309031027.383ARAqP097494@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=f3a0b13a6d737dd936eb1ad118d00ddaae1d35cc

commit f3a0b13a6d737dd936eb1ad118d00ddaae1d35cc
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2023-09-02 20:54:40 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2023-09-03 10:26:54 +0000

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

diff --git a/deskutils/helpviewer/Makefile b/deskutils/helpviewer/Makefile
index 490dea5480af..a0bb761a7db7 100644
--- a/deskutils/helpviewer/Makefile
+++ b/deskutils/helpviewer/Makefile
@@ -14,6 +14,12 @@ LICENSE=	GPLv2
 USES=		gnustep tar:tgz
 USE_GNUSTEP=	back build
 
+.include <bsd.port.options.mk>
+
+.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 ))
+ADDITIONAL_CPPFLAGS+=	-Wno-error=int-conversion
+.endif
+
 post-patch:
 	${REINPLACE_CMD} -e 's|Foundation/GSXML.h|GNUstepBase/GSXML.h|' \
 		${WRKSRC}/HandlerStructureXLP.h \



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