Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 31 Dec 2024 16:05:43 GMT
From:      Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 45b52cec21e6 - main - www/node18: Fix build with icu 76.1
Message-ID:  <202412311605.4BVG5hdL001263@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=45b52cec21e67673c5990eded07125f873839e55

commit 45b52cec21e67673c5990eded07125f873839e55
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-12-31 15:57:15 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-12-31 15:57:15 +0000

    www/node18: Fix build with icu 76.1
    
    PR:             283566
    Reported by:    diizzy
    Obtained from:  https://github.com/nodejs/node/commit/81517faceac86497b3c8717837f491aa29a5e0f9
---
 www/node20/files/patch-icu | 13 +++++++++++++
 1 file changed, 13 insertions(+)

diff --git a/www/node20/files/patch-icu b/www/node20/files/patch-icu
new file mode 100644
index 000000000000..13dbbdccc8fd
--- /dev/null
+++ b/www/node20/files/patch-icu
@@ -0,0 +1,13 @@
+Obtained from:	https://github.com/nodejs/node/commit/81517faceac86497b3c8717837f491aa29a5e0f9
+
+--- configure.py.orig	2024-11-20 13:28:19 UTC
++++ configure.py
+@@ -1829,7 +1829,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.''')



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202412311605.4BVG5hdL001263>