Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 24 Jun 2023 20:49:34 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: 60857c34a927 - main - devel/rubygem-unicode: Fix build with llvm16
Message-ID:  <202306242049.35OKnYOe073743@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=60857c34a9277b2ee0be468c6add2707d3b06ad6

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

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

diff --git a/devel/rubygem-unicode/Makefile b/devel/rubygem-unicode/Makefile
index 80b0f11e736c..2dd1cd924632 100644
--- a/devel/rubygem-unicode/Makefile
+++ b/devel/rubygem-unicode/Makefile
@@ -11,4 +11,10 @@ LICENSE=	RUBY
 
 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?202306242049.35OKnYOe073743>