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