$OpenBSD: patch-src_3rdparty_chromium_base_i18n_icu_util_cc,v 1.2 2021/01/19 06:16:33 rsadowski Exp $

Index: src/3rdparty/chromium/base/i18n/icu_util.cc
--- src/3rdparty/chromium/base/i18n/icu_util.cc.orig
+++ src/3rdparty/chromium/base/i18n/icu_util.cc
@@ -49,7 +49,8 @@
 #endif
 
 #if defined(OS_ANDROID) || defined(OS_FUCHSIA) || \
-    (defined(OS_LINUX) && !BUILDFLAG(IS_CHROMECAST))
+    (defined(OS_LINUX) && !BUILDFLAG(IS_CHROMECAST)) || \
+    defined(OS_BSD)
 #include "third_party/icu/source/i18n/unicode/timezone.h"
 #endif
 
@@ -345,7 +346,7 @@ void InitializeIcuTimeZone() {
       fuchsia::IntlProfileWatcher::GetPrimaryTimeZoneIdForIcuInitialization();
   icu::TimeZone::adoptDefault(
       icu::TimeZone::createTimeZone(icu::UnicodeString::fromUTF8(zone_id)));
-#elif defined(OS_LINUX) && !BUILDFLAG(IS_CHROMECAST)
+#elif defined(OS_LINUX) && !BUILDFLAG(IS_CHROMECAST) || defined(OS_BSD)
   // 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().
