package/nodejs: fix build with ICU 69
authorJames Hilliard <james.hilliard1@gmail.com>
Mon, 19 Jul 2021 10:03:52 +0000 (04:03 -0600)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Mon, 19 Jul 2021 21:03:09 +0000 (23:03 +0200)
commit6507ac846cf82bb061ab1ca4575d62e2c9b5048e
treee5a787618e90001aa5e815664d99c7fd594900e5
parenta244355fa842aa4b457ae64349008c73ab4cdc60
package/nodejs: fix build with ICU 69

Fixes:
../deps/v8/src/objects/js-list-format.cc: In static member function ‘static v8::internal::MaybeHandle<v8::internal::JSListFormat> v8::internal::JSListFormat::New(v8::internal::Isolate*, v8::internal::Handle<v8::internal::Map>, v8::internal::Handle<v8::internal::Object>, v8::internal::Handle<v8::internal::Object>)’:
../deps/v8/src/objects/js-list-format.cc:173:67: error: ‘static icu::ListFormatter* icu::ListFormatter::createInstance(const icu::Locale&, const char*, UErrorCode&)’ is private within this context
  173 |       icu_locale, GetIcuStyleString(style_enum, type_enum), status);
      |                                                                   ^
In file included from ../deps/v8/src/objects/js-list-format.cc:25:
/home/buildroot/buildroot/output/per-package/host-icu/host/include/unicode/listformatter.h:267:27: note: declared private here
  267 |     static ListFormatter* createInstance(const Locale& locale, const char* style, UErrorCode& errorCode);
      |                           ^~~~~~~~~~~~~~

Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
package/nodejs/0002-Fix-build-with-ICU-68.patch [new file with mode: 0644]