From dc79a4f48286d8cc8d6c26edada91c148bb62b43699cae01e2a18933285664e3 Mon Sep 17 00:00:00 2001 From: OBS User unknown Date: Mon, 18 Nov 2024 16:05:40 +0000 Subject: [PATCH] [info=3881af0f5a6e053b9069c853358318cf8320efb2fb761781079828ea4737656c] OBS-URL: https://build.opensuse.org/package/show/devel:languages:nodejs/nodejs22?expand=0&rev=18 --- _scmsync.obsinfo | 4 ++-- icu76.1.patch | 13 +++++++++++++ nodejs22.changes | 2 ++ nodejs22.spec | 3 +++ 4 files changed, 20 insertions(+), 2 deletions(-) create mode 100644 icu76.1.patch diff --git a/_scmsync.obsinfo b/_scmsync.obsinfo index 6e1b0f9..8682282 100644 --- a/_scmsync.obsinfo +++ b/_scmsync.obsinfo @@ -1,3 +1,3 @@ -mtime: 1731931490 -commit: d0e9bff11812d147bf74a25017992f8a557f25a691edab67e761ed390cb2859e +mtime: 1731945922 +commit: 3881af0f5a6e053b9069c853358318cf8320efb2fb761781079828ea4737656c url: https://src.opensuse.org/nodejs/nodejs22.git diff --git a/icu76.1.patch b/icu76.1.patch new file mode 100644 index 0000000..8ec79d3 --- /dev/null +++ b/icu76.1.patch @@ -0,0 +1,13 @@ +Index: node-v22.11.0/configure.py +=================================================================== +--- node-v22.11.0.orig/configure.py ++++ node-v22.11.0/configure.py +@@ -1876,7 +1876,7 @@ def configure_intl(o): + elif with_intl == 'system-icu': + # ICU from pkg-config. + o['variables']['v8_enable_i18n_support'] = 1 +- pkgicu = pkg_config('icu-i18n') ++ pkgicu = pkg_config('icu-i18n icu-uc') + if not pkgicu[0]: + error('''Could not load pkg-config data for "icu-i18n". + See above errors or the README.md.''') diff --git a/nodejs22.changes b/nodejs22.changes index 6438109..acaa8a5 100644 --- a/nodejs22.changes +++ b/nodejs22.changes @@ -8,6 +8,8 @@ Mon Nov 18 12:02:26 UTC 2024 - Adam Majer to reflect that the release is LTS, no further changes from Node.js 22.10.0 are included. +- icu76.1.patch: fix linking to ICU 76.1 (bsc#1232061) + ------------------------------------------------------------------- Mon Oct 28 11:43:07 UTC 2024 - Adam Majer diff --git a/nodejs22.spec b/nodejs22.spec index 07b524f..2f6d3a8 100644 --- a/nodejs22.spec +++ b/nodejs22.spec @@ -172,6 +172,7 @@ Patch200: versioned.patch Patch305: qemu_timeouts_arches.patch Patch307: v8-i586.patch Patch309: gcc13.patch +Patch311: icu76.1.patch BuildRequires: pkg-config BuildRequires: fdupes @@ -701,6 +702,8 @@ popd %patch -P 305 -p1 %patch -P 307 -p1 %patch -P 309 -p1 +%patch -P 311 -p1 + %if %{node_version_number} == 12 # minimist security update - patch50