summaryrefslogtreecommitdiff
path: root/devel/electron6/files/patch-v8_src_base_cpu.cc
diff options
context:
space:
mode:
Diffstat (limited to 'devel/electron6/files/patch-v8_src_base_cpu.cc')
-rw-r--r--devel/electron6/files/patch-v8_src_base_cpu.cc18
1 files changed, 18 insertions, 0 deletions
diff --git a/devel/electron6/files/patch-v8_src_base_cpu.cc b/devel/electron6/files/patch-v8_src_base_cpu.cc
new file mode 100644
index 000000000000..3b1bef3c222d
--- /dev/null
+++ b/devel/electron6/files/patch-v8_src_base_cpu.cc
@@ -0,0 +1,18 @@
+--- v8/src/base/cpu.cc.orig 2019-09-10 10:51:03 UTC
++++ v8/src/base/cpu.cc
+@@ -424,6 +424,7 @@ CPU::CPU()
+
+ #if V8_OS_LINUX
+
++#if V8_OS_LINUX
+ CPUInfo cpu_info;
+
+ // Extract implementor from the "CPU implementer" field.
+@@ -457,6 +458,7 @@ CPU::CPU()
+ }
+ delete[] part;
+ }
++#endif
+
+ // Extract architecture from the "CPU Architecture" field.
+ // The list is well-known, unlike the the output of