diff mbox series

[meta-oe,1/2] mozjs: Fix build with icu 76+

Message ID 20241123215230.1558824-1-raj.khem@gmail.com
State New
Headers show
Series [meta-oe,1/2] mozjs: Fix build with icu 76+ | expand

Commit Message

Khem Raj Nov. 23, 2024, 9:52 p.m. UTC
Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
 ...with-icu-uc-to-fix-build-with-ICU-76.patch | 27 +++++++++++++++++++
 .../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 mbox series

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 <raj.khem@gmail.com>
+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 <raj.khem@gmail.com>
+---
+ 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"