Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 24 Jun 2023 20:49:33 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: a8830cba5db6 - main - devel/rubygem-cool.io: Fix build with llvm16
Message-ID:  <202306242049.35OKnXdl073722@gitrepo.freebsd.org>

index | next in thread | raw e-mail

The branch main has been updated by bofh:

URL: https://cgit.FreeBSD.org/ports/commit/?id=a8830cba5db699b38053eb0481c9e71426fcda4e

commit a8830cba5db699b38053eb0481c9e71426fcda4e
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2023-06-24 20:22:52 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2023-06-24 20:48:38 +0000

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

diff --git a/devel/rubygem-cool.io/Makefile b/devel/rubygem-cool.io/Makefile
index fbafd0c02372..d846ea2c9758 100644
--- a/devel/rubygem-cool.io/Makefile
+++ b/devel/rubygem-cool.io/Makefile
@@ -14,4 +14,10 @@ RUN_DEPENDS=	rubygem-iobuffer>=1.0.0:devel/rubygem-iobuffer
 
 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>


home | help

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