ports/www/node18/files/patch-icu
Po-Chuan Hsieh 4b190591c0
www/node18: Fix build with icu 76.1
PR:		283565
Reported by:	diizzy
Obtained from:	81517facea
2024-12-31 23:57:11 +08:00

13 lines
535 B
Text

Obtained from: https://github.com/nodejs/node/commit/81517faceac86497b3c8717837f491aa29a5e0f9
--- configure.py.orig 2024-11-12 00:42:39 UTC
+++ configure.py
@@ -1763,7 +1763,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.''')