summaryrefslogtreecommitdiff
path: root/www/chromium/files/patch-chromecast_app_cast__main__delegate.cc
diff options
context:
space:
mode:
Diffstat (limited to 'www/chromium/files/patch-chromecast_app_cast__main__delegate.cc')
-rw-r--r--www/chromium/files/patch-chromecast_app_cast__main__delegate.cc11
1 files changed, 11 insertions, 0 deletions
diff --git a/www/chromium/files/patch-chromecast_app_cast__main__delegate.cc b/www/chromium/files/patch-chromecast_app_cast__main__delegate.cc
new file mode 100644
index 000000000000..7f01adcd5cbd
--- /dev/null
+++ b/www/chromium/files/patch-chromecast_app_cast__main__delegate.cc
@@ -0,0 +1,11 @@
+--- chromecast/app/cast_main_delegate.cc.orig 2021-03-12 23:57:21 UTC
++++ chromecast/app/cast_main_delegate.cc
+@@ -136,7 +136,7 @@ bool CastMainDelegate::BasicStartupComplete(int* exit_
+
+ void CastMainDelegate::PreSandboxStartup() {
+ #if defined(ARCH_CPU_ARM_FAMILY) && \
+- (defined(OS_ANDROID) || defined(OS_LINUX) || defined(OS_CHROMEOS))
++ (defined(OS_ANDROID) || defined(OS_LINUX) || defined(OS_CHROMEOS) || defined(OS_BSD))
+ // Create an instance of the CPU class to parse /proc/cpuinfo and cache the
+ // results. This data needs to be cached when file-reading is still allowed,
+ // since base::CPU expects to be callable later, when file-reading is no