From b31105225ca0fe0c4bf0168d6dbc92fe042af503 Mon Sep 17 00:00:00 2001 From: Michael Cho Date: Thu, 31 Oct 2024 00:43:05 -0400 Subject: [PATCH] spidermonkey@115: revision bump to migrate to `icu4c@76` --- Formula/s/spidermonkey@115.rb | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/Formula/s/spidermonkey@115.rb b/Formula/s/spidermonkey@115.rb index 3d3dc468d97b..6984c6a270cf 100644 --- a/Formula/s/spidermonkey@115.rb +++ b/Formula/s/spidermonkey@115.rb @@ -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. @@ -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" @@ -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