From fc1feb2efc1c8d6488e12528e4a9197f63146be0 Mon Sep 17 00:00:00 2001 From: Fredrik Fornwall Date: Thu, 31 Dec 2015 04:36:51 -0500 Subject: [PATCH] Update disabled-packages/nodejs5 --- disabled-packages/nodejs5/build.sh | 4 +-- disabled-packages/nodejs5/node.gyp.patch | 35 ++++++++++++++++++++++++ 2 files changed, 37 insertions(+), 2 deletions(-) create mode 100644 disabled-packages/nodejs5/node.gyp.patch diff --git a/disabled-packages/nodejs5/build.sh b/disabled-packages/nodejs5/build.sh index 5b89a2dd8..f354a19ea 100644 --- a/disabled-packages/nodejs5/build.sh +++ b/disabled-packages/nodejs5/build.sh @@ -2,9 +2,9 @@ # segfaults in v8::internal::DoubleToRadixCString() at ../deps/v8/src/conversions.cc:445 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=5.2.0 +TERMUX_PKG_VERSION=5.3.0 TERMUX_PKG_SRCURL=https://nodejs.org/dist/v${TERMUX_PKG_VERSION}/node-v${TERMUX_PKG_VERSION}.tar.gz -TERMUX_PKG_EXTRA_CONFIGURE_ARGS="--dest-os=android --shared-openssl --shared-zlib --shared-libuv" +TERMUX_PKG_EXTRA_CONFIGURE_ARGS="--dest-os=android --shared-openssl --shared-zlib --shared-libuv --without-snapshot" TERMUX_PKG_DEPENDS="openssl, libuv" TERMUX_PKG_RM_AFTER_INSTALL="lib/node_modules/npm/html lib/node_modules/npm/make.bat share/systemtap lib/dtrace" TERMUX_PKG_BUILD_IN_SRC=yes diff --git a/disabled-packages/nodejs5/node.gyp.patch b/disabled-packages/nodejs5/node.gyp.patch new file mode 100644 index 000000000..ffeeeea71 --- /dev/null +++ b/disabled-packages/nodejs5/node.gyp.patch @@ -0,0 +1,35 @@ +diff -u -r ../node-v5.3.0/node.gyp ./node.gyp +--- ../node-v5.3.0/node.gyp 2015-12-16 13:49:23.000000000 -0500 ++++ ./node.gyp 2015-12-25 23:03:42.313063892 -0500 +@@ -670,31 +670,6 @@ + ], + } ], + ] +- }, +- { +- 'target_name': 'cctest', +- 'type': 'executable', +- 'dependencies': [ +- 'deps/gtest/gtest.gyp:gtest', +- 'deps/v8/tools/gyp/v8.gyp:v8', +- 'deps/v8/tools/gyp/v8.gyp:v8_libplatform' +- ], +- 'include_dirs': [ +- 'src', +- 'deps/v8/include' +- ], +- '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', +- ], +- 'sources': [ +- 'test/cctest/util.cc', +- ], + } + ], # end targets +