Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 Jul 2023 15:04:13 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: ce7816c5a948 - main - www/grr: Fix build with llvm16
Message-ID:  <202307261504.36QF4DvP087778@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=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 \



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