pkgsrc/lang/nodejs/patches/patch-deps_v8_src_base_atomicops.h
adam 7a3df3ad92 nodejs: updated to 13.3.0
Version 13.3.0:

Notable Changes
fs:
Reworked experimental recursive rmdir()
The maxBusyTries option is renamed to maxRetries, and its default is set to 0. The emfileWait option has been removed, and EMFILE errors use the same retry logic as other errors. The retryDelay option is now supported. ENFILE errors are now retried.
http:
Make maximum header size configurable per-stream or per-server
http2:
Make maximum tolerated rejected streams configurable
Allow to configure maximum tolerated invalid frames
wasi:
Introduce initial WASI support
2019-12-09 20:03:51 +00:00

18 lines
616 B
C

$NetBSD: patch-deps_v8_src_base_atomicops.h,v 1.3 2019/12/09 20:03:51 adam Exp $
--- deps/v8/src/base/atomicops.h.orig 2019-11-19 08:29:07.000000000 +0000
+++ deps/v8/src/base/atomicops.h
@@ -52,9 +52,13 @@ using Atomic64 = intptr_t;
#endif // defined(__ILP32__)
#endif // defined(V8_HOST_ARCH_64_BIT)
+#if defined(__NetBSD__) && defined(__arm__)
+using AtomicWord = int32_t;
+#else
// Use AtomicWord for a machine-sized pointer. It will use the Atomic32 or
// Atomic64 routines below, depending on your architecture.
using AtomicWord = intptr_t;
+#endif
// Atomically execute:
// result = *ptr;