Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 25 Jun 2023 21:43: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: a2d806e35123 - main - devel/rubygem-cbor: Fix build with llvm16
Message-ID:  <202306252143.35PLhDo5056999@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=a2d806e351230568b6633fca252260f8517d5855

commit a2d806e351230568b6633fca252260f8517d5855
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2023-06-25 20:55:02 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2023-06-25 21:42:44 +0000

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

diff --git a/devel/rubygem-cbor/Makefile b/devel/rubygem-cbor/Makefile
index 6ad3b3c6c73e..9a7f8555e951 100644
--- a/devel/rubygem-cbor/Makefile
+++ b/devel/rubygem-cbor/Makefile
@@ -11,4 +11,10 @@ LICENSE=	APACHE20
 
 USES=		gem
 
+.include <bsd.port.options.mk>
+
+.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091
+CONFIGURE_ARGS+=	--with-cflags="-Wno-error=incompatible-function-pointer-types"
+.endif
+
 .include <bsd.port.mk>



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