aboutsummaryrefslogtreecommitdiff
path: root/devel/electron33/files/patch-base_system_sys__info.cc
diff options
context:
space:
mode:
Diffstat (limited to 'devel/electron33/files/patch-base_system_sys__info.cc')
-rw-r--r--devel/electron33/files/patch-base_system_sys__info.cc11
1 files changed, 11 insertions, 0 deletions
diff --git a/devel/electron33/files/patch-base_system_sys__info.cc b/devel/electron33/files/patch-base_system_sys__info.cc
new file mode 100644
index 000000000000..f613305e0689
--- /dev/null
+++ b/devel/electron33/files/patch-base_system_sys__info.cc
@@ -0,0 +1,11 @@
+--- base/system/sys_info.cc.orig 2024-08-14 20:54:23 UTC
++++ base/system/sys_info.cc
+@@ -223,7 +223,7 @@ void SysInfo::GetHardwareInfo(base::OnceCallback<void(
+ #endif
+
+ void SysInfo::GetHardwareInfo(base::OnceCallback<void(HardwareInfo)> callback) {
+-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_FUCHSIA)
++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_FUCHSIA) || BUILDFLAG(IS_BSD)
+ constexpr base::TaskTraits kTraits = {base::MayBlock()};
+ #else
+ constexpr base::TaskTraits kTraits = {};