commit: 5309f4aea348bc9abd0d3d5aa2adb89496f4541a Author: Fabian Groffen <grobian <AT> gentoo <DOT> org> AuthorDate: Sun Jan 16 14:15:54 2022 +0000 Commit: Fabian Groffen <grobian <AT> gentoo <DOT> org> CommitDate: Sun Jan 16 14:18:33 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5309f4ae
dev-lang/ruby-2.7.5: fix compilation on Darwin Package-Manager: Portage-3.0.28, Repoman-3.0.3 Signed-off-by: Fabian Groffen <grobian <AT> gentoo.org> dev-lang/ruby/ruby-2.7.5.ebuild | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/dev-lang/ruby/ruby-2.7.5.ebuild b/dev-lang/ruby/ruby-2.7.5.ebuild index 78beb636d7bc..51384cae5e3b 100644 --- a/dev-lang/ruby/ruby-2.7.5.ebuild +++ b/dev-lang/ruby/ruby-2.7.5.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -99,6 +99,11 @@ src_prepare() { sed -i \ -e "s/ac_cv_prog_ac_ct_AR='libtool/ac_cv_prog_AR='${CHOST}-libtool/" \ configure.ac || die + + # disable using security framework (GCC barfs on those headers) + sed -i \ + -e '/MAC_OS_X_VERSION_MIN_REQUIRED/_DISABLED_/' \ + random.c || die fi fi