summaryrefslogtreecommitdiff
path: root/www/chromium-uc/patches/patch-base_i18n_icu_util_cc
diff options
context:
space:
mode:
Diffstat (limited to 'www/chromium-uc/patches/patch-base_i18n_icu_util_cc')
-rw-r--r--www/chromium-uc/patches/patch-base_i18n_icu_util_cc24
1 files changed, 0 insertions, 24 deletions
diff --git a/www/chromium-uc/patches/patch-base_i18n_icu_util_cc b/www/chromium-uc/patches/patch-base_i18n_icu_util_cc
deleted file mode 100644
index 773e34b..0000000
--- a/www/chromium-uc/patches/patch-base_i18n_icu_util_cc
+++ /dev/null
@@ -1,24 +0,0 @@
1$OpenBSD: patch-base_i18n_icu_util_cc,v 1.15 2021/09/01 16:54:38 robert Exp $
2
3Index: base/i18n/icu_util.cc
4--- base/i18n/icu_util.cc.orig
5+++ base/i18n/icu_util.cc
6@@ -49,7 +49,7 @@
7 #include "third_party/icu/source/common/unicode/unistr.h"
8 #endif
9
10-#if defined(OS_ANDROID) || defined(OS_FUCHSIA) || \
11+#if defined(OS_ANDROID) || defined(OS_FUCHSIA) || defined(OS_BSD) || \
12 ((defined(OS_LINUX) || defined(OS_CHROMEOS)) && !BUILDFLAG(IS_CHROMECAST))
13 #include "third_party/icu/source/i18n/unicode/timezone.h"
14 #endif
15@@ -343,7 +343,8 @@ void InitializeIcuTimeZone() {
16 FuchsiaIntlProfileWatcher::GetPrimaryTimeZoneIdForIcuInitialization();
17 icu::TimeZone::adoptDefault(
18 icu::TimeZone::createTimeZone(icu::UnicodeString::fromUTF8(zone_id)));
19-#elif (defined(OS_LINUX) || defined(OS_CHROMEOS)) && !BUILDFLAG(IS_CHROMECAST)
20+#elif (defined(OS_LINUX) || defined(OS_CHROMEOS) || defined(OS_BSD)) && \
21+ !BUILDFLAG(IS_CHROMECAST)
22 // To respond to the time zone change properly, the default time zone
23 // cache in ICU has to be populated on starting up.
24 // See TimeZoneMonitorLinux::NotifyClientsFromImpl().