TERMUX_PKG_HOMEPAGE=http://nodejs.org/
TERMUX_PKG_DESCRIPTION="Platform built on Chrome's JavaScript runtime for easily building fast, scalable network applications"
-TERMUX_PKG_VERSION=6.3.0
+TERMUX_PKG_VERSION=6.3.1
TERMUX_PKG_SRCURL=https://nodejs.org/dist/v${TERMUX_PKG_VERSION}/node-v${TERMUX_PKG_VERSION}.tar.gz
TERMUX_PKG_DEPENDS="openssl, libuv, libgnustl, c-ares"
TERMUX_PKG_RM_AFTER_INSTALL="lib/node_modules/npm/html lib/node_modules/npm/make.bat share/systemtap lib/dtrace"
-diff -u -r ../node-v6.3.0/node.gyp ./node.gyp
---- ../node-v6.3.0/node.gyp 2016-07-06 13:14:10.000000000 -0400
-+++ ./node.gyp 2016-07-15 09:30:10.150224361 -0400
-@@ -805,54 +805,7 @@
+diff -u -r ../node-v6.3.1/node.gyp ./node.gyp
+--- ../node-v6.3.1/node.gyp 2016-07-21 16:44:43.000000000 -0400
++++ ./node.gyp 2016-07-23 14:03:01.349959957 -0400
+@@ -808,65 +808,6 @@
],
} ],
]
-
- 'conditions': [
- ['v8_inspector=="true"', {
-- 'dependencies': [
-- 'deps/openssl/openssl.gyp:openssl',
-- 'deps/http_parser/http_parser.gyp:http_parser',
-- 'deps/uv/uv.gyp:libuv'
-- ],
- 'sources': [
- 'src/inspector_socket.cc',
- 'test/cctest/test_inspector_socket.cc'
+- ],
+- 'conditions': [
+- [ 'node_shared_openssl=="false"', {
+- 'dependencies': [
+- 'deps/openssl/openssl.gyp:openssl'
+- ]
+- }],
+- [ 'node_shared_http_parser=="false"', {
+- 'dependencies': [
+- 'deps/http_parser/http_parser.gyp:http_parser'
+- ]
+- }],
+- [ 'node_shared_libuv=="false"', {
+- 'dependencies': [
+- 'deps/uv/uv.gyp:libuv'
+- ]
+- }]
- ]
- }],
- [ 'node_use_v8_platform=="true"', {
}
], # end targets
- 'conditions': [
-diff -u -r ../node-v6.0.0/src/node_main.cc ./src/node_main.cc
---- ../node-v6.0.0/src/node_main.cc 2016-04-26 15:50:22.000000000 -0400
-+++ ./src/node_main.cc 2016-05-02 16:29:08.313594254 -0400
-@@ -1,4 +1,5 @@
- #include "node.h"
-+#include <stdlib.h>
-
- #ifdef _WIN32
- #include <VersionHelpers.h>
-@@ -50,6 +51,11 @@
- // UNIX
- int main(int argc, char *argv[]) {
- setvbuf(stderr, NULL, _IOLBF, 1024);
+diff -u -r ../node-v6.3.1/src/node_main.cc ./src/node_main.cc
+--- ../node-v6.3.1/src/node_main.cc 2016-07-21 16:44:43.000000000 -0400
++++ ./src/node_main.cc 2016-07-23 13:53:57.530095071 -0400
+@@ -54,6 +54,10 @@
+ // calls elsewhere in the program (e.g., any logging from V8.)
+ setvbuf(stdout, nullptr, _IONBF, 0);
+ setvbuf(stderr, nullptr, _IONBF, 0);
+ if (getenv("TMPDIR") == NULL) {
-+ /* Give javascript programs (such as updated versions of npm) a working tmpdir. */
++ // Give javascript programs (such as updated versions of npm) a working tmpdir.
+ putenv("TMPDIR=@TERMUX_PREFIX@/tmp");
+ }
-+
return node::Start(argc, argv);
}
#endif