From 0f1922efe1971a31cf76ca55cdf506d10a1b1898 Mon Sep 17 00:00:00 2001 From: Augustin Cavalier Date: Tue, 18 Feb 2025 17:43:12 -0500 Subject: [PATCH] ruby: Bump to 3.2.7 and actually build with optimizations. I tested one basic benchmark, it went from ~613ms to ~89ms, so this is quite the difference. --- .../ruby/patches/{ruby-3.2.5.patchset => ruby-3.2.7.patchset} | 0 dev-lang/ruby/{ruby-3.2.5.recipe => ruby-3.2.7.recipe} | 4 ++-- 2 files changed, 2 insertions(+), 2 deletions(-) rename dev-lang/ruby/patches/{ruby-3.2.5.patchset => ruby-3.2.7.patchset} (100%) rename dev-lang/ruby/{ruby-3.2.5.recipe => ruby-3.2.7.recipe} (96%) diff --git a/dev-lang/ruby/patches/ruby-3.2.5.patchset b/dev-lang/ruby/patches/ruby-3.2.7.patchset similarity index 100% rename from dev-lang/ruby/patches/ruby-3.2.5.patchset rename to dev-lang/ruby/patches/ruby-3.2.7.patchset diff --git a/dev-lang/ruby/ruby-3.2.5.recipe b/dev-lang/ruby/ruby-3.2.7.recipe similarity index 96% rename from dev-lang/ruby/ruby-3.2.5.recipe rename to dev-lang/ruby/ruby-3.2.7.recipe index 862cdac91..901e2f651 100644 --- a/dev-lang/ruby/ruby-3.2.5.recipe +++ b/dev-lang/ruby/ruby-3.2.7.recipe @@ -15,7 +15,7 @@ LICENSE="Ruby BSD (3-clause)" REVISION="1" SOURCE_URI="https://cache.ruby-lang.org/pub/ruby/3.2/ruby-$portVersion.tar.gz" -CHECKSUM_SHA256="ef0610b498f60fb5cfd77b51adb3c10f4ca8ed9a17cb87c61e5bea314ac34a16" +CHECKSUM_SHA256="8488fa620ff0333c16d437f2b890bba3b67f8745fdecb1472568a6114aad9741" SOURCE_DIR="ruby-$portVersion" PATCHES="ruby-$portVersion.patchset" ADDITIONAL_FILES="gemrc" @@ -104,7 +104,7 @@ defineDebugInfoPackage ruby$secondaryArchSuffix \ BUILD() { - CFLAGS="-D_BSD_SOURCE" \ + CFLAGS="-O2 -g -D_BSD_SOURCE" \ LDFLAGS="-lbsd" \ runConfigure --omit-dirs binDir ./configure \ --bindir=$prefix/bin \