diff --git a/dev-lang/ruby/ruby-4.0.3.ebuild b/dev-lang/ruby/ruby-4.0.3-r1.ebuild similarity index 99% rename from dev-lang/ruby/ruby-4.0.3.ebuild rename to dev-lang/ruby/ruby-4.0.3-r1.ebuild index c7a940bd060f7..3adfb863e1d17 100644 --- a/dev-lang/ruby/ruby-4.0.3.ebuild +++ b/dev-lang/ruby/ruby-4.0.3-r1.ebuild @@ -209,6 +209,8 @@ src_configure() { append-flags -fno-strict-aliasing # Fails to link (gcc PR124865, gcc PR50676) filter-flags -flto-partition=cache + # bug #972696 + append-cppflags -DRB_THREAD_CURRENT_EC_NOINLINE # Workaround for bug #938302 if use systemtap && has_version "dev-debug/systemtap[-dtrace-symlink(+)]" ; then diff --git a/dev-lang/ruby/ruby-4.0.9999.ebuild b/dev-lang/ruby/ruby-4.0.9999.ebuild index c7a940bd060f7..3adfb863e1d17 100644 --- a/dev-lang/ruby/ruby-4.0.9999.ebuild +++ b/dev-lang/ruby/ruby-4.0.9999.ebuild @@ -209,6 +209,8 @@ src_configure() { append-flags -fno-strict-aliasing # Fails to link (gcc PR124865, gcc PR50676) filter-flags -flto-partition=cache + # bug #972696 + append-cppflags -DRB_THREAD_CURRENT_EC_NOINLINE # Workaround for bug #938302 if use systemtap && has_version "dev-debug/systemtap[-dtrace-symlink(+)]" ; then