Update lang/v8 to version 9.6.180.12
[dports.git] / lang / v8 / files / patch-src_base_cpu.cc
1 --- src/base/cpu.cc.orig        2021-10-06 18:22:58 UTC
2 +++ src/base/cpu.cc
3 @@ -568,6 +568,7 @@ CPU::CPU()
4  
5  #if V8_OS_LINUX
6  
7 +#if V8_OS_LINUX
8    CPUInfo cpu_info;
9  
10    // Extract implementor from the "CPU implementer" field.
11 @@ -601,6 +602,7 @@ CPU::CPU()
12      }
13      delete[] part;
14    }
15 +#endif
16  
17    // Extract architecture from the "CPU Architecture" field.
18    // The list is well-known, unlike the the output of