freebsd-ports/www/chromium/files/patch-v8_src_base_cpu.cc
Joseph Mingrone a0dbfe2fb0 www/chromium: Update to version 87.0.4280.66
Submitted by:	Matthias Wolf, cem, rene
Obtained from:	Some patches from OpenBSD port (robert@openbsd.org)
2020-12-01 04:06:37 +00:00

19 lines
417 B
C++

--- v8/src/base/cpu.cc.orig 2020-11-13 06:42:28 UTC
+++ v8/src/base/cpu.cc
@@ -534,6 +534,7 @@ CPU::CPU()
#if V8_OS_LINUX
+#if V8_OS_LINUX
CPUInfo cpu_info;
// Extract implementor from the "CPU implementer" field.
@@ -567,6 +568,7 @@ CPU::CPU()
}
delete[] part;
}
+#endif
// Extract architecture from the "CPU Architecture" field.
// The list is well-known, unlike the the output of