diff options
Diffstat (limited to 'devel/electron38/files/patch-base_system_sys__info__posix.cc')
-rw-r--r-- | devel/electron38/files/patch-base_system_sys__info__posix.cc | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/devel/electron38/files/patch-base_system_sys__info__posix.cc b/devel/electron38/files/patch-base_system_sys__info__posix.cc new file mode 100644 index 000000000000..7871809638c8 --- /dev/null +++ b/devel/electron38/files/patch-base_system_sys__info__posix.cc @@ -0,0 +1,29 @@ +--- base/system/sys_info_posix.cc.orig 2025-08-26 20:49:50 UTC ++++ base/system/sys_info_posix.cc +@@ -144,7 +144,7 @@ namespace base { + + namespace base { + +-#if !BUILDFLAG(IS_OPENBSD) ++#if !BUILDFLAG(IS_BSD) + // static + int SysInfo::NumberOfProcessors() { + #if BUILDFLAG(IS_MAC) +@@ -200,7 +200,7 @@ int SysInfo::NumberOfProcessors() { + + return cached_num_cpus; + } +-#endif // !BUILDFLAG(IS_OPENBSD) ++#endif // !BUILDFLAG(IS_BSD) + + // static + uint64_t SysInfo::AmountOfVirtualMemory() { +@@ -286,6 +286,8 @@ std::string SysInfo::OperatingSystemArchitecture() { + arch = "x86"; + } else if (arch == "amd64") { + arch = "x86_64"; ++ } else if (arch == "arm64") { ++ arch = "aarch64"; + } else if (std::string(info.sysname) == "AIX") { + arch = "ppc64"; + } |