summaryrefslogtreecommitdiff
path: root/www/chromium/files/patch-base_system_sys__info__posix.cc
diff options
context:
space:
mode:
authorRene Ladan <rene@FreeBSD.org>2019-11-05 19:35:13 +0000
committerRene Ladan <rene@FreeBSD.org>2019-11-05 19:35:13 +0000
commit03d66a659ae5011ca0d5279cafb1596a982a06d8 (patch)
treeb8c8cd52f300381a02e32bdea5d4eae6f30262fc /www/chromium/files/patch-base_system_sys__info__posix.cc
parentUpdate to 1.37.0 (diff)
www/chromium: update to 78.0.3904.87
Submitted by: Matthias Wolf via github MFH: 2019Q4
Diffstat (limited to 'www/chromium/files/patch-base_system_sys__info__posix.cc')
-rw-r--r--www/chromium/files/patch-base_system_sys__info__posix.cc31
1 files changed, 2 insertions, 29 deletions
diff --git a/www/chromium/files/patch-base_system_sys__info__posix.cc b/www/chromium/files/patch-base_system_sys__info__posix.cc
index 80aa7d04fcf7..5b79b03dce8a 100644
--- a/www/chromium/files/patch-base_system_sys__info__posix.cc
+++ b/www/chromium/files/patch-base_system_sys__info__posix.cc
@@ -1,33 +1,6 @@
---- base/system/sys_info_posix.cc.orig 2019-07-24 18:58:02 UTC
+--- base/system/sys_info_posix.cc.orig 2019-09-09 21:55:05 UTC
+++ base/system/sys_info_posix.cc
-@@ -38,7 +38,7 @@
-
- namespace {
-
--#if !defined(OS_OPENBSD) && !defined(OS_FUCHSIA)
-+#if !defined(OS_FUCHSIA) && !defined(OS_BSD)
- int NumberOfProcessors() {
- // sysconf returns the number of "logical" (not "physical") processors on both
- // Mac and Linux. So we get the number of max available "logical" processors.
-@@ -64,7 +64,7 @@ int NumberOfProcessors() {
-
- base::LazyInstance<base::internal::LazySysInfoValue<int, NumberOfProcessors>>::
- Leaky g_lazy_number_of_processors = LAZY_INSTANCE_INITIALIZER;
--#endif // !defined(OS_OPENBSD) && !defined(OS_FUCHSIA)
-+#endif // !defined(OS_FUCHSIA) && !defined(OS_BSD)
-
- #if !defined(OS_FUCHSIA)
- int64_t AmountOfVirtualMemory() {
-@@ -132,7 +132,7 @@ bool GetDiskSpaceInfo(const base::FilePath& path,
-
- namespace base {
-
--#if !defined(OS_OPENBSD) && !defined(OS_FUCHSIA)
-+#if !defined(OS_FUCHSIA) && !defined(OS_BSD)
- int SysInfo::NumberOfProcessors() {
- return g_lazy_number_of_processors.Get().value();
- }
-@@ -227,6 +227,8 @@ std::string SysInfo::OperatingSystemArchitecture() {
+@@ -220,6 +220,8 @@ std::string SysInfo::OperatingSystemArchitecture() {
arch = "x86";
} else if (arch == "amd64") {
arch = "x86_64";