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