Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 12 Jun 2023 22:58:48 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: 2a8d11500648 - main - devel/ruby-subversion: Fix build with llvm15
Message-ID:  <202306122258.35CMwmu0087306@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=2a8d115006485bcec6b46186ff87fbc1f9cebb5e

commit 2a8d115006485bcec6b46186ff87fbc1f9cebb5e
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2023-06-12 22:48:03 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2023-06-12 22:58:36 +0000

    devel/ruby-subversion: Fix build with llvm15
    
    Approved by:    portmgr (blanket)
---
 devel/ruby-subversion/Makefile | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/devel/ruby-subversion/Makefile b/devel/ruby-subversion/Makefile
index d1b8b6afc556..e5b3ba6bb22f 100644
--- a/devel/ruby-subversion/Makefile
+++ b/devel/ruby-subversion/Makefile
@@ -24,4 +24,8 @@ INSTALL_TARGET=	install-swig-rb
 
 CFLAGS+=	-fdeclspec
 
+.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 ))
+CFLAGS+=	-Wno-error=int-conversion
+.endif
+
 .include <bsd.port.post.mk>



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