aboutsummaryrefslogtreecommitdiff
path: root/devel/electron37/files/patch-components_system__cpu_cpu__probe.cc
diff options
context:
space:
mode:
Diffstat (limited to 'devel/electron37/files/patch-components_system__cpu_cpu__probe.cc')
-rw-r--r--devel/electron37/files/patch-components_system__cpu_cpu__probe.cc12
1 files changed, 12 insertions, 0 deletions
diff --git a/devel/electron37/files/patch-components_system__cpu_cpu__probe.cc b/devel/electron37/files/patch-components_system__cpu_cpu__probe.cc
new file mode 100644
index 000000000000..c942af31f03e
--- /dev/null
+++ b/devel/electron37/files/patch-components_system__cpu_cpu__probe.cc
@@ -0,0 +1,12 @@
+--- components/system_cpu/cpu_probe.cc.orig 2024-02-21 00:20:43 UTC
++++ components/system_cpu/cpu_probe.cc
+@@ -30,6 +30,9 @@ std::unique_ptr<CpuProbe> CpuProbe::Create() {
+ return CpuProbeWin::Create();
+ #elif BUILDFLAG(IS_MAC)
+ return CpuProbeMac::Create();
++#elif BUILDFLAG(IS_BSD)
++ NOTIMPLEMENTED();
++ return nullptr;
+ #else
+ return nullptr;
+ #endif // BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)