deps: - update V8 to 6.2.414.46 - revert ABI breaking changes in V8 6.2 - upgrade libuv to 1.19.1 - re land npm 5.6.0 - ICU 60 bump crypto: - Support both OpenSSL 1.1.0 and 1.0.2 - warn on invalid authentication tag length async_hooks: - update defaultTriggerAsyncIdScope for perf - use typed array stack as fast path - use scope for defaultTriggerAsyncId - separate missing from default context - rename initTriggerId - deprecate undocumented API - add destroy event for gced AsyncResources - add trace events to async_hooks - set HTTPParser trigger to socket - add provider types for net server n-api: - add helper for addons to get the event loop cli: - add --stack-trace-limit to NODE_OPTIONS console: - add support for console.debug module: - add builtinModules - replace default paths in require.resolve() src: - add helper for addons to get the event loop - add process.ppid http: - support generic `Duplex` streams - add rawPacket in err of `clientError` event - better support for IPv6 addresses net: - remove ADDRCONFIG DNS hint on Windows process: - fix reading zero-length env vars on win32 tls: - unconsume stream on destroy process: - improve unhandled rejection message stream: - remove usage of *State.highWaterMark trace_events: - add executionAsyncId to init events
30 lines
816 B
C
30 lines
816 B
C
$NetBSD: patch-deps_uv_src_unix_netbsd.c,v 1.2 2018/03/07 11:45:06 fhajny Exp $
|
|
|
|
Bring back support for NetBSD<8.
|
|
|
|
--- deps/uv/src/unix/netbsd.c.orig 2018-03-06 22:55:45.000000000 +0000
|
|
+++ deps/uv/src/unix/netbsd.c
|
|
@@ -40,6 +40,11 @@
|
|
#include <unistd.h>
|
|
#include <time.h>
|
|
|
|
+/* For __NetBSD_Version__ */
|
|
+#ifdef __NetBSD__
|
|
+# include <sys/param.h>
|
|
+#endif
|
|
+
|
|
static uv_mutex_t process_title_mutex;
|
|
static uv_once_t process_title_mutex_once = UV_ONCE_INIT;
|
|
static char *process_title;
|
|
@@ -87,7 +92,11 @@ int uv_exepath(char* buffer, size_t* siz
|
|
mib[0] = CTL_KERN;
|
|
mib[1] = KERN_PROC_ARGS;
|
|
mib[2] = -1;
|
|
+#if __NetBSD_Version__ >= 799000000
|
|
mib[3] = KERN_PROC_PATHNAME;
|
|
+#else
|
|
+ mib[3] = KERN_PROC_ARGV;
|
|
+#endif
|
|
int_size = ARRAY_SIZE(int_buf);
|
|
|
|
if (sysctl(mib, 4, int_buf, &int_size, NULL, 0))
|