Skip to content

Commit

Permalink
nodejs-current: Update from 8.2.1 to 8.3.0
Browse files Browse the repository at this point in the history
Note that the resulting package does not work yet due to
 nodejs/node#14489
not being in 8.3.0.
  • Loading branch information
fornwall committed Aug 11, 2017
1 parent 8ad7a27 commit 552d700
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 23 deletions.
11 changes: 2 additions & 9 deletions packages/nodejs-current/build.sh
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# status: Does not build
TERMUX_PKG_HOMEPAGE=https://nodejs.org/
TERMUX_PKG_DESCRIPTION="Platform built on Chrome's JavaScript runtime for easily building fast, scalable network applications"
TERMUX_PKG_VERSION=8.2.1
TERMUX_PKG_SHA256=66fe1379bc7daf9a16c6b5c45ab695bf1cdcfae9738d2989e940104d6b31973f
TERMUX_PKG_VERSION=8.3.0
TERMUX_PKG_SHA256=33fa7a02f265636c240be9ebd0f93942f77856a9c2c751592da1a0962b6ed010
TERMUX_PKG_SRCURL=https://nodejs.org/dist/v${TERMUX_PKG_VERSION}/node-v${TERMUX_PKG_VERSION}.tar.gz
# Note that we do not use a shared libuv to avoid an issue with the Android
# linker, which does not use symbols of linked shared libraries when resolving
Expand Down Expand Up @@ -55,11 +55,4 @@ termux_step_configure () {
--without-inspector \
--without-intl \
--cross-compiling

# Remove cross-compile directories:
sed -i '/usr\/include/d; /usr\/lib/d' out/deps/v8/src/mkpeephole.host.mk
# The above statement causes some straggling \ in the makefile:
sed -i 's|-I$(srcdir)/deps/v8 \\|-I$(srcdir)/deps/v8|' out/deps/v8/src/mkpeephole.host.mk
# Remove extra libraries not needed for mkpeephole:
sed -i '/-lcares/d; /-lcrypto/d; /-lssl/d; /-lz/d' out/deps/v8/src/mkpeephole.host.mk
}
19 changes: 5 additions & 14 deletions packages/nodejs-current/node.gyp.patch
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
diff -u -r ../node-v8.1.0/node.gyp ./node.gyp
--- ../node-v8.1.0/node.gyp 2017-06-08 12:31:34.000000000 +0200
+++ ./node.gyp 2017-06-12 12:13:40.219057425 +0200
@@ -557,156 +557,6 @@
diff -u -r ../node-v8.3.0/node.gyp ./node.gyp
--- ../node-v8.3.0/node.gyp 2017-08-09 20:48:31.000000000 +0200
+++ ./node.gyp 2017-08-11 00:37:54.033951029 +0200
@@ -559,147 +559,6 @@
],
} ],
]
Expand Down Expand Up @@ -85,16 +85,7 @@ diff -u -r ../node-v8.1.0/node.gyp ./node.gyp
- '<(OBJ_TRACING_PATH)<(OBJ_SEPARATOR)trace_event.<(OBJ_SUFFIX)',
- ],
-
- 'defines': [
- # gtest's ASSERT macros conflict with our own.
- 'GTEST_DONT_DEFINE_ASSERT_EQ=1',
- 'GTEST_DONT_DEFINE_ASSERT_GE=1',
- 'GTEST_DONT_DEFINE_ASSERT_GT=1',
- 'GTEST_DONT_DEFINE_ASSERT_LE=1',
- 'GTEST_DONT_DEFINE_ASSERT_LT=1',
- 'GTEST_DONT_DEFINE_ASSERT_NE=1',
- 'NODE_WANT_INTERNALS=1',
- ],
- 'defines': [ 'NODE_WANT_INTERNALS=1' ],
-
- 'sources': [
- 'test/cctest/test_base64.cc',
Expand Down

0 comments on commit 552d700

Please sign in to comment.