git: f3a0b13a6d73 - main - deskutils/helpviewer: Fix build with llvm16
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 03 Sep 2023 10:27:10 UTC
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 \