git: ce7816c5a948 - main - www/grr: Fix build with llvm16
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 26 Jul 2023 15:04:13 UTC
The branch main has been updated by bofh:
URL: https://cgit.FreeBSD.org/ports/commit/?id=ce7816c5a9489b52c2803199ddeaf2ac1a168ae1
commit ce7816c5a9489b52c2803199ddeaf2ac1a168ae1
Author: Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2023-07-26 14:41:15 +0000
Commit: Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2023-07-26 15:04:02 +0000
www/grr: Fix build with llvm16
Approved by: portmgr (blanket)
Sponsored by: The FreeBSD Foundation
---
www/grr/Makefile | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/www/grr/Makefile b/www/grr/Makefile
index c2aee7a83001..3f454cca5036 100644
--- a/www/grr/Makefile
+++ b/www/grr/Makefile
@@ -17,6 +17,12 @@ LIB_DEPENDS= libRSSKit.so:www/rsskit
USES= gnustep
USE_GNUSTEP= back build
+.include <bsd.port.options.mk>
+
+.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 ))
+CPPFLAGS+= -Wno-error=incompatible-function-pointer-types
+.endif
+
post-install:
${STRIP_CMD} ${STAGEDIR}${PREFIX}/GNUstep/System/Applications/Grr.app/Grr \
${STAGEDIR}${PREFIX}/GNUstep/System/Applications/Grr.app/Resources/ArticleOperations.grrc/ArticleOperations \