From 288e7ca3a47d84be20baf83d52c63b33a137b98d Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Sat, 23 Nov 2024 13:38:16 -0800 Subject: mozjs: Fix build with icu 76+ Signed-off-by: Khem Raj --- ...Link-with-icu-uc-to-fix-build-with-ICU-76.patch | 27 ++++++++++++++++++++++ .../recipes-extended/mozjs/mozjs-115_115.16.1.bb | 1 + 2 files changed, 28 insertions(+) create mode 100644 meta-oe/recipes-extended/mozjs/mozjs-115/0001-Link-with-icu-uc-to-fix-build-with-ICU-76.patch diff --git a/meta-oe/recipes-extended/mozjs/mozjs-115/0001-Link-with-icu-uc-to-fix-build-with-ICU-76.patch b/meta-oe/recipes-extended/mozjs/mozjs-115/0001-Link-with-icu-uc-to-fix-build-with-ICU-76.patch new file mode 100644 index 0000000000..8b1fee2cae --- /dev/null +++ b/meta-oe/recipes-extended/mozjs/mozjs-115/0001-Link-with-icu-uc-to-fix-build-with-ICU-76.patch @@ -0,0 +1,27 @@ +From 3b75498f523ce6e41662ec79ff7180def6af8a99 Mon Sep 17 00:00:00 2001 +From: Khem Raj +Date: Sat, 23 Nov 2024 13:28:33 -0800 +Subject: [PATCH] Link with icu-uc to fix build with ICU-76 + +Fixes +https://bugzilla.mozilla.org/show_bug.cgi?id=1927380 + +Upstream-Status: Pending +Signed-off-by: Khem Raj +--- + js/moz.configure | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/js/moz.configure b/js/moz.configure +index af11416ec2..2b305bc8dd 100644 +--- a/js/moz.configure ++++ b/js/moz.configure +@@ -1104,7 +1104,7 @@ set_define( + # ====================================================== + system_lib_option("--with-system-icu", help="Use 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 >= 73.1 icu-uc", when="--with-system-icu") + + + @depends("--with-system-icu") diff --git a/meta-oe/recipes-extended/mozjs/mozjs-115_115.16.1.bb b/meta-oe/recipes-extended/mozjs/mozjs-115_115.16.1.bb index d235b252ae..df75e29bd3 100644 --- a/meta-oe/recipes-extended/mozjs/mozjs-115_115.16.1.bb +++ b/meta-oe/recipes-extended/mozjs/mozjs-115_115.16.1.bb @@ -18,6 +18,7 @@ SRC_URI = "https://archive.mozilla.org/pub/firefox/releases/${PV}esr/source/fire file://armv5.patch \ file://1849070.patch \ file://1894423.patch \ + file://0001-Link-with-icu-uc-to-fix-build-with-ICU-76.patch \ " SRC_URI[sha256sum] = "c3bb5a210738ca0f8cd26aa53fc4a07560db079c06cd0421cf35af4035029367" -- cgit v1.2.3-54-g00ecf