diff options
author | Fabian Groffen <grobian@gentoo.org> | 2023-05-04 21:49:38 +0200 |
---|---|---|
committer | Fabian Groffen <grobian@gentoo.org> | 2023-05-04 21:49:38 +0200 |
commit | b760cfb8d6b60da03e88ce32a823e52782777deb (patch) | |
tree | 5f0b26b3a03c77f34cde93ee555fa91a5e2a86dd /dev-lang | |
parent | net-p2p/syncthing: Stabilize 1.23.4-r1 amd64, #905702 (diff) | |
download | gentoo-b760cfb8d6b60da03e88ce32a823e52782777deb.tar.gz gentoo-b760cfb8d6b60da03e88ce32a823e52782777deb.tar.bz2 gentoo-b760cfb8d6b60da03e88ce32a823e52782777deb.zip |
dev-lang/ruby: put back darwin gcc buildfix for 3+
Signed-off-by: Fabian Groffen <grobian@gentoo.org>
Diffstat (limited to 'dev-lang')
-rw-r--r-- | dev-lang/ruby/ruby-3.0.6-r2.ebuild | 5 | ||||
-rw-r--r-- | dev-lang/ruby/ruby-3.1.4-r2.ebuild | 5 | ||||
-rw-r--r-- | dev-lang/ruby/ruby-3.2.2-r2.ebuild | 5 |
3 files changed, 15 insertions, 0 deletions
diff --git a/dev-lang/ruby/ruby-3.0.6-r2.ebuild b/dev-lang/ruby/ruby-3.0.6-r2.ebuild index 33e65e2f3fd2..15a1c837c91e 100644 --- a/dev-lang/ruby/ruby-3.0.6-r2.ebuild +++ b/dev-lang/ruby/ruby-3.0.6-r2.ebuild @@ -100,6 +100,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 's/MAC_OS_X_VERSION_MIN_REQUIRED/_DISABLED_/' \ + random.c || die fi fi diff --git a/dev-lang/ruby/ruby-3.1.4-r2.ebuild b/dev-lang/ruby/ruby-3.1.4-r2.ebuild index 555c25a75baa..8f22e76e844b 100644 --- a/dev-lang/ruby/ruby-3.1.4-r2.ebuild +++ b/dev-lang/ruby/ruby-3.1.4-r2.ebuild @@ -105,6 +105,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 's/MAC_OS_X_VERSION_MIN_REQUIRED/_DISABLED_/' \ + random.c || die fi fi diff --git a/dev-lang/ruby/ruby-3.2.2-r2.ebuild b/dev-lang/ruby/ruby-3.2.2-r2.ebuild index 68155cce8bdb..e5c7808698dc 100644 --- a/dev-lang/ruby/ruby-3.2.2-r2.ebuild +++ b/dev-lang/ruby/ruby-3.2.2-r2.ebuild @@ -120,6 +120,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 's/MAC_OS_X_VERSION_MIN_REQUIRED/_DISABLED_/' \ + random.c || die fi fi |