File 0029-Bug-1927380-Update-icu-pkgconfig-module-lookup-r-anb.patch of Package MozillaFirefox
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: Martin Weinelt <martin+mozilla@linuxlounge.net>
Date: Mon, 12 May 2025 13:48:36 +0000
Subject: [PATCH] Bug 1927380 - Update icu pkgconfig module lookup r=anba
After upgrading to icu76 the build started failing to look up symbols
from icu when using the --system-icu option. Updating the pkgconfig
lookups to also read the icu-uc pkgconfig fixes the build.
Differential Revision: https://phabricator.services.mozilla.com/D248707
---
js/moz.configure | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/js/moz.configure b/js/moz.configure
index eb4b274105bfb25ad5e007f9140ce9fa6d29a70f..7a9506d1fe3e1846da5a7cce0899215acfc01b41 100644
--- a/js/moz.configure
+++ b/js/moz.configure
@@ -1192,7 +1192,9 @@ def enable_system_icu_option(enable_system_icu):
return enable_system_icu
-system_icu = pkg_check_modules("MOZ_ICU", "icu-i18n >= 76.1", when="--with-system-icu")
+system_icu = pkg_check_modules(
+ "MOZ_ICU", "icu-uc icu-i18n >= 76.1", when="--with-system-icu"
+)
@depends(enable_system_icu_option)