diff options
author | Hiroki Tagato <tagattie@FreeBSD.org> | 2021-11-24 17:28:24 +0900 |
---|---|---|
committer | Hiroki Tagato <tagattie@FreeBSD.org> | 2021-11-24 17:30:52 +0900 |
commit | 4da4f5edbf9de5c4269cf66d70044f4cb3abdc41 (patch) | |
tree | 21363ca7518a943c48bde3a669c78444685f832e /devel/electron13/files/patch-base_i18n_icu__util.cc | |
parent | ports-mgmt/octopkg: update description and WWW (diff) |
devel/electron13: update to 13.6.2 (and rename from devel/electron12)
Changelog: https://www.electronjs.org/blog/electron-13-0
Diffstat (limited to 'devel/electron13/files/patch-base_i18n_icu__util.cc')
-rw-r--r-- | devel/electron13/files/patch-base_i18n_icu__util.cc | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/devel/electron13/files/patch-base_i18n_icu__util.cc b/devel/electron13/files/patch-base_i18n_icu__util.cc new file mode 100644 index 000000000000..f7e8fb2ca85a --- /dev/null +++ b/devel/electron13/files/patch-base_i18n_icu__util.cc @@ -0,0 +1,20 @@ +--- base/i18n/icu_util.cc.orig 2021-07-15 19:13:29 UTC ++++ base/i18n/icu_util.cc +@@ -49,7 +49,7 @@ + #include "third_party/icu/source/common/unicode/unistr.h" + #endif + +-#if defined(OS_ANDROID) || defined(OS_FUCHSIA) || \ ++#if defined(OS_ANDROID) || defined(OS_FUCHSIA) || defined(OS_BSD) || \ + ((defined(OS_LINUX) || defined(OS_CHROMEOS)) && !BUILDFLAG(IS_CHROMECAST)) + #include "third_party/icu/source/i18n/unicode/timezone.h" + #endif +@@ -343,7 +343,7 @@ void InitializeIcuTimeZone() { + FuchsiaIntlProfileWatcher::GetPrimaryTimeZoneIdForIcuInitialization(); + icu::TimeZone::adoptDefault( + icu::TimeZone::createTimeZone(icu::UnicodeString::fromUTF8(zone_id))); +-#elif (defined(OS_LINUX) || defined(OS_CHROMEOS)) && !BUILDFLAG(IS_CHROMECAST) ++#elif (defined(OS_LINUX) || defined(OS_CHROMEOS) || defined(OS_BSD)) && !BUILDFLAG(IS_CHROMECAST) + // To respond to the time zone change properly, the default time zone + // cache in ICU has to be populated on starting up. + // See TimeZoneMonitorLinux::NotifyClientsFromImpl(). |