SHA256
1
0
forked from pool/nodejs22

Add patch for ICU 76.1

This commit is contained in:
Adam Majer 2024-11-18 17:05:22 +01:00
parent d0e9bff118
commit 3881af0f5a
3 changed files with 18 additions and 0 deletions

13
icu76.1.patch Normal file
View File

@ -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.''')

View File

@ -8,6 +8,8 @@ Mon Nov 18 12:02:26 UTC 2024 - Adam Majer <adam.majer@suse.de>
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 <adam.majer@suse.de>

View File

@ -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