aboutsummaryrefslogtreecommitdiff
path: root/devel/electron38/files/patch-components_system__cpu_cpu__probe.cc
diff options
context:
space:
mode:
Diffstat (limited to 'devel/electron38/files/patch-components_system__cpu_cpu__probe.cc')
-rw-r--r--devel/electron38/files/patch-components_system__cpu_cpu__probe.cc23
1 files changed, 23 insertions, 0 deletions
diff --git a/devel/electron38/files/patch-components_system__cpu_cpu__probe.cc b/devel/electron38/files/patch-components_system__cpu_cpu__probe.cc
new file mode 100644
index 000000000000..bf7aea319345
--- /dev/null
+++ b/devel/electron38/files/patch-components_system__cpu_cpu__probe.cc
@@ -0,0 +1,23 @@
+--- components/system_cpu/cpu_probe.cc.orig 2025-08-26 20:49:50 UTC
++++ components/system_cpu/cpu_probe.cc
+@@ -20,6 +20,10 @@
+ #include "components/system_cpu/cpu_probe_mac.h"
+ #endif // BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
+
++#if BUILDFLAG(IS_BSD)
++#include "base/notimplemented.h"
++#endif
++
+ namespace system_cpu {
+
+ // static
+@@ -30,6 +34,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)