Skip to content

Commit

Permalink
spidermonkey@115: revision bump to migrate to icu4c@76
Browse files Browse the repository at this point in the history
  • Loading branch information
cho-m committed Oct 31, 2024
1 parent 8f6c358 commit b311052
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion Formula/s/spidermonkey@115.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ class SpidermonkeyAT115 < Formula
version "115.17.0"
sha256 "80f184a102a743ee75401e86dd86af0be5f1e5ebf07c81119d9ca77422d716c3"
license "MPL-2.0"
revision 1

# Spidermonkey versions use the same versions as Firefox, so we simply check
# Firefox ESR release versions.
Expand All @@ -27,7 +28,7 @@ class SpidermonkeyAT115 < Formula
depends_on "pkg-config" => :build
depends_on "python@3.11" => :build # https://bugzilla.mozilla.org/show_bug.cgi?id=1857515
depends_on "rust" => :build
depends_on "icu4c@75"
depends_on "icu4c@76"
depends_on "nspr"
depends_on "readline"

Expand Down Expand Up @@ -55,6 +56,10 @@ class SpidermonkeyAT115 < Formula
end

def install
# Workaround for ICU 76+
# Issue ref: https://bugzilla.mozilla.org/show_bug.cgi?id=1927380
inreplace "js/moz.configure", '"icu-i18n >= 73.1"', '"icu-i18n >= 73.1 icu-uc"'

if OS.mac?
inreplace "build/moz.configure/toolchain.configure" do |s|
# Help the build script detect ld64 as it expects logs from LD_PRINT_OPTIONS=1 with -Wl,-version
Expand Down

0 comments on commit b311052

Please sign in to comment.