commit: 3368ec5d56875f6144742cf4a50a987cfac405a2 Author: Hans de Graaff <graaff <AT> gentoo <DOT> org> AuthorDate: Sun Jul 28 07:24:58 2024 +0000 Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org> CommitDate: Sun Jul 28 07:26:01 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3368ec5d
dev-lang/ruby: fix co-routines on x32 Closes: https://bugs.gentoo.org/933070 Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org> dev-lang/ruby/{ruby-3.3.4.ebuild => ruby-3.3.4-r1.ebuild} | 3 +++ dev-lang/ruby/ruby-3.3.4.ebuild | 3 +++ 2 files changed, 6 insertions(+) diff --git a/dev-lang/ruby/ruby-3.3.4.ebuild b/dev-lang/ruby/ruby-3.3.4-r1.ebuild similarity index 98% copy from dev-lang/ruby/ruby-3.3.4.ebuild copy to dev-lang/ruby/ruby-3.3.4-r1.ebuild index 0b4513e79341..e96e95a64f16 100644 --- a/dev-lang/ruby/ruby-3.3.4.ebuild +++ b/dev-lang/ruby/ruby-3.3.4-r1.ebuild @@ -194,6 +194,9 @@ src_configure() { modules="${modules},tk" fi + # Fix co-routine selection for x32, bug 933070 + [[ ${CHOST} == *gnux32 ]] && myconf="${myconf} --with-coroutine=amd64" + # Provide an empty LIBPATHENV because we disable rpath but we do not # need LD_LIBRARY_PATH by default since that breaks USE=multitarget # #564272 diff --git a/dev-lang/ruby/ruby-3.3.4.ebuild b/dev-lang/ruby/ruby-3.3.4.ebuild index 0b4513e79341..e96e95a64f16 100644 --- a/dev-lang/ruby/ruby-3.3.4.ebuild +++ b/dev-lang/ruby/ruby-3.3.4.ebuild @@ -194,6 +194,9 @@ src_configure() { modules="${modules},tk" fi + # Fix co-routine selection for x32, bug 933070 + [[ ${CHOST} == *gnux32 ]] && myconf="${myconf} --with-coroutine=amd64" + # Provide an empty LIBPATHENV because we disable rpath but we do not # need LD_LIBRARY_PATH by default since that breaks USE=multitarget # #564272
