Update lang/v8 to version 9.9.115.10
[dports.git] / lang / v8 / files / patch-src_base_cpu.cc
1 --- src/base/cpu.cc.orig        2021-11-15 18:52:12 UTC
2 +++ src/base/cpu.cc
3 @@ -575,6 +575,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 @@ -608,6 +609,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