[packages/firefox] fix linking with icu 76

atler atler at pld-linux.org
Sun Jan 19 19:25:49 CET 2025


commit a95538a66f260a141232591730bd313c5a1e8e1a
Author: Jan Palus <atler at pld-linux.org>
Date:   Sun Jan 19 19:05:06 2025 +0100

    fix linking with icu 76

 firefox.spec | 14 ++++++++------
 icu76.patch  | 11 +++++++++++
 2 files changed, 19 insertions(+), 6 deletions(-)
---
diff --git a/firefox.spec b/firefox.spec
index 128c219..b13ac0c 100644
--- a/firefox.spec
+++ b/firefox.spec
@@ -270,6 +270,7 @@ Source201:	https://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i6
 # Source201-md5:	68d29d17b8004c0c0cd0c52e76f7c3e9
 Source202:	https://releases.mozilla.org/pub/firefox/releases/%{version}/linux-i686/xpi/zh-TW.xpi
 # Source202-md5:	6c8e817ace24765e8faf2dda91bb2cf0
+Patch0:		icu76.patch
 Patch4:		%{name}-prefs.patch
 Patch5:		%{name}-pld-bookmarks.patch
 Patch7:		%{name}-middle_click_paste.patch
@@ -2142,12 +2143,13 @@ for s in %sources; do
 	esac
 done
 
-%patch4 -p1
-%patch5 -p1
-%patch7 -p1
-%patch9 -p1
-%{?with_system_cairo:%patch10 -p1}
-%patch11 -p1
+%patch -P0 -p1
+%patch -P4 -p1
+%patch -P5 -p1
+%patch -P7 -p1
+%patch -P9 -p1
+%{?with_system_cairo:%patch -P10 -p1}
+%patch -P11 -p1
 
 %if %{with pgo}
 %{__sed} -i -e 's at __BROWSER_PATH__@"../../dist/bin/firefox-bin"@' build/automation.py.in
diff --git a/icu76.patch b/icu76.patch
new file mode 100644
index 0000000..397777e
--- /dev/null
+++ b/icu76.patch
@@ -0,0 +1,11 @@
+--- firefox-134.0.1/js/moz.configure.orig	2025-01-13 14:45:49.000000000 +0100
++++ firefox-134.0.1/js/moz.configure	2025-01-19 18:59:17.113153887 +0100
+@@ -1253,7 +1253,7 @@
+     return enable_system_icu
+ 
+ 
+-system_icu = pkg_check_modules("MOZ_ICU", "icu-i18n >= 73.1", when="--with-system-icu")
++system_icu = pkg_check_modules("MOZ_ICU", "icu-i18n >= 76.1 icu-uc >= 76.1", when="--with-system-icu")
+ 
+ 
+ @depends(enable_system_icu_option)
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/firefox.git/commitdiff/a95538a66f260a141232591730bd313c5a1e8e1a



More information about the pld-cvs-commit mailing list