1
0
Fork 0
mirror of https://git.freebsd.org/ports.git synced 2025-07-08 21:09:17 -04:00
ports/www/node8/files/patch-deps_v8_src_base_cpu.cc
Bradley T. Hughes 5118a33e89 www/node8: Update 8.11.4_1 -> 8.12.0
- drop b8f47b27571f.patch, which has been applied upstream
- refresh patches with `make makepatch`

https://nodejs.org/en/blog/release/v8.12.0/

Sponsored by:	Miles AS
2018-09-14 03:49:54 +00:00

19 lines
379 B
C++

--- deps/v8/src/base/cpu.cc.orig 2018-09-10 18:46:54 UTC
+++ deps/v8/src/base/cpu.cc
@@ -607,6 +607,7 @@ CPU::CPU()
#elif V8_HOST_ARCH_ARM64
+#if V8_OS_LINUX
CPUInfo cpu_info;
// Extract implementor from the "CPU implementer" field.
@@ -641,6 +642,8 @@ CPU::CPU()
delete[] part;
}
+#endif // V8_OS_LINUX
+
#elif V8_HOST_ARCH_PPC
#ifndef USE_SIMULATOR