freebsd-ports/www/node/files/patch-deps_v8_src_base_cpu.cc
Bradley T. Hughes 5a13f31f84 www/node: Update 8.2.1 -> 8.3.0
- Revert libc++ workaround from r444555, since upstream has fixed the
  issue differently.
- Refresh patches with 'make makepatch'

Approved by:	mat (co-mentor)
Differential Revision:	https://reviews.freebsd.org/D11949
2017-08-10 12:53:18 +00:00

19 lines
363 B
C++

--- deps/v8/src/base/cpu.cc.orig 2017-08-09 18:48:10 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.
@@ -640,6 +641,8 @@ CPU::CPU()
}
delete[] part;
}
+
+#endif // V8_OS_LINUX
#elif V8_HOST_ARCH_PPC