pkgsrc/lang/nodejs10/patches/patch-deps_v8_src_base_atomicops.h
adam 48c0cb6a3b nodejs: added version 12.13.1, removed version 6.14.3
Moved nodejs to nodejs10 - version 10.17.0

Version 12.13.1 'Erbium' (LTS):

Notable changes
Experimental support for building Node.js with Python 3 is improved.
ICU time zone data is updated to version 2019c. This fixes the date offset in Brazil.
2019-12-09 20:05:40 +00:00

18 lines
616 B
C

$NetBSD: patch-deps_v8_src_base_atomicops.h,v 1.1 2019/12/09 20:05:40 adam Exp $
--- deps/v8/src/base/atomicops.h.orig 2016-10-25 13:26:03.000000000 +0000
+++ deps/v8/src/base/atomicops.h
@@ -52,9 +52,13 @@ typedef intptr_t Atomic64;
#endif // defined(__ILP32__)
#endif // defined(V8_HOST_ARCH_64_BIT)
+#if defined(__NetBSD__) && defined(__arm__)
+typedef int32_t AtomicWord;
+#else
// Use AtomicWord for a machine-sized pointer. It will use the Atomic32 or
// Atomic64 routines below, depending on your architecture.
typedef intptr_t AtomicWord;
+#endif
// Atomically execute:
// result = *ptr;