Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 30 Aug 2023 16:53:23 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: 339fad866654 - main - net/rubygem-grpc: Fix build with llvm16
Message-ID:  <202308301653.37UGrNBF092695@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=339fad86665461c63d4386095f3ea1c8c3d06586

commit 339fad86665461c63d4386095f3ea1c8c3d06586
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2023-08-30 16:28:52 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2023-08-30 16:52:04 +0000

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

diff --git a/net/rubygem-grpc/Makefile b/net/rubygem-grpc/Makefile
index 9a2add151eec..cc88519b5c40 100644
--- a/net/rubygem-grpc/Makefile
+++ b/net/rubygem-grpc/Makefile
@@ -19,6 +19,12 @@ USES=		cpe gem gmake pkgconfig
 
 MAKE_JOBS_UNSAFE=	yes
 
+.include <bsd.port.options.mk>
+
+.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 ))
+CONFIGURE_ARGS+=	--with-cflags="-Wno-error=incompatible-function-pointer-types"
+.endif
+
 post-patch:
 	@${RM} ${WRKSRC}/Makefile ${WRKSRC}/.yardopts
 	@${RM} -r ${WRKSRC}/etc ${WRKSRC}/include ${WRKSRC}/third_party ${WRKSRC}/src/boringssl ${WRKSRC}/src/core



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