Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 1 Jan 2025 00:32:11 +0800
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:   Re: git: 45b52cec21e6 - main - www/node18: Fix build with icu 76.1
Message-ID:  <CAMHz58TzOPg8CuvDTgzxQ1iirSE1u%2B3U%2BLp4YG7zFov3r9QtUw@mail.gmail.com>
In-Reply-To: <202412311605.4BVG5hdL001263@gitrepo.freebsd.org>
References:  <202412311605.4BVG5hdL001263@gitrepo.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
--000000000000bb218d062a937a19
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

On Wed, Jan 1, 2025 at 12:06=E2=80=AFAM Po-Chuan Hsieh <sunpoet@freebsd.org=
> wrote:

> The branch main has been updated by sunpoet:
>
> URL:
> https://cgit.FreeBSD.org/ports/commit/?id=3D45b52cec21e67673c5990eded0712=
5f873839e55
>
> 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
>

It should be:

www/node20: Fix build with icu 76.1

PR:             283567

    Reported by:    diizzy
>     Obtained from:
> https://github.com/nodejs/node/commit/81517faceac86497b3c8717837f491aa29a=
5e0f9
> ---
>  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/81517faceac86497b3c8717837f491aa29a=
5e0f9
> +
> +--- configure.py.orig  2024-11-20 13:28:19 UTC
> ++++ configure.py
> +@@ -1829,7 +1829,7 @@ def configure_intl(o):
> +   elif with_intl =3D=3D 'system-icu':
> +     # ICU from pkg-config.
> +     o['variables']['v8_enable_i18n_support'] =3D 1
> +-    pkgicu =3D pkg_config('icu-i18n')
> ++    pkgicu =3D 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.''')
>

--000000000000bb218d062a937a19
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div dir=3D"ltr">On Wed, Jan 1, 2025 at 12:06=E2=80=AFAM P=
o-Chuan Hsieh &lt;<a href=3D"mailto:sunpoet@freebsd.org">sunpoet@freebsd.or=
g</a>&gt; wrote:<br></div><div class=3D"gmail_quote gmail_quote_container">=
<blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-=
left:1px solid rgb(204,204,204);padding-left:1ex">The branch main has been =
updated by sunpoet:<br>
<br>
URL: <a href=3D"https://cgit.FreeBSD.org/ports/commit/?id=3D45b52cec21e6767=
3c5990eded07125f873839e55" rel=3D"noreferrer" target=3D"_blank">https://cgi=
t.FreeBSD.org/ports/commit/?id=3D45b52cec21e67673c5990eded07125f873839e55</=
a><br>
<br>
commit 45b52cec21e67673c5990eded07125f873839e55<br>
Author:=C2=A0 =C2=A0 =C2=A0Po-Chuan Hsieh &lt;sunpoet@FreeBSD.org&gt;<br>
AuthorDate: 2024-12-31 15:57:15 +0000<br>
Commit:=C2=A0 =C2=A0 =C2=A0Po-Chuan Hsieh &lt;sunpoet@FreeBSD.org&gt;<br>
CommitDate: 2024-12-31 15:57:15 +0000<br>
<br>
=C2=A0 =C2=A0 www/node18: Fix build with icu 76.1</blockquote><blockquote c=
lass=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px soli=
d rgb(204,204,204);padding-left:1ex"><br>
=C2=A0 =C2=A0 PR:=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0283566<br>=
</blockquote><div><br></div><div>It should be:<br></div><div><br></div><div=
><div>www/node20: Fix build with icu 76.1</div></div><div><br></div><div>PR=
:=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0283567</div><div><br></div=
><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border=
-left:1px solid rgb(204,204,204);padding-left:1ex">
=C2=A0 =C2=A0 Reported by:=C2=A0 =C2=A0 diizzy<br>
=C2=A0 =C2=A0 Obtained from:=C2=A0 <a href=3D"https://github.com/nodejs/nod=
e/commit/81517faceac86497b3c8717837f491aa29a5e0f9" rel=3D"noreferrer" targe=
t=3D"_blank">https://github.com/nodejs/node/commit/81517faceac86497b3c87178=
37f491aa29a5e0f9</a><br>
---<br>
=C2=A0www/node20/files/patch-icu | 13 +++++++++++++<br>
=C2=A01 file changed, 13 insertions(+)<br>
<br>
diff --git a/www/node20/files/patch-icu b/www/node20/files/patch-icu<br>
new file mode 100644<br>
index 000000000000..13dbbdccc8fd<br>
--- /dev/null<br>
+++ b/www/node20/files/patch-icu<br>
@@ -0,0 +1,13 @@<br>
+Obtained from: <a href=3D"https://github.com/nodejs/node/commit/81517facea=
c86497b3c8717837f491aa29a5e0f9" rel=3D"noreferrer" target=3D"_blank">https:=
//github.com/nodejs/node/commit/81517faceac86497b3c8717837f491aa29a5e0f9</a=
><br>
+<br>
+--- configure.py.orig=C2=A0 2024-11-20 13:28:19 UTC<br>
++++ configure.py<br>
+@@ -1829,7 +1829,7 @@ def configure_intl(o):<br>
+=C2=A0 =C2=A0elif with_intl =3D=3D &#39;system-icu&#39;:<br>
+=C2=A0 =C2=A0 =C2=A0# ICU from pkg-config.<br>
+=C2=A0 =C2=A0 =C2=A0o[&#39;variables&#39;][&#39;v8_enable_i18n_support&#39=
;] =3D 1<br>
+-=C2=A0 =C2=A0 pkgicu =3D pkg_config(&#39;icu-i18n&#39;)<br>
++=C2=A0 =C2=A0 pkgicu =3D pkg_config([&#39;icu-i18n&#39;, &#39;icu-uc&#39;=
])<br>
+=C2=A0 =C2=A0 =C2=A0if not pkgicu[0]:<br>
+=C2=A0 =C2=A0 =C2=A0 =C2=A0error(&#39;&#39;&#39;Could not load pkg-config =
data for &quot;icu-i18n&quot;.<br>
+=C2=A0 =C2=A0 =C2=A0 =C2=A0 See above errors or the README.md.&#39;&#39;&#=
39;)<br>
</blockquote></div></div>

--000000000000bb218d062a937a19--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAMHz58TzOPg8CuvDTgzxQ1iirSE1u%2B3U%2BLp4YG7zFov3r9QtUw>