Browse Source

Update disabled-packages/nodejs5

android-5
Fredrik Fornwall 9 years ago
parent
commit
fc1feb2efc
  1. 4
      disabled-packages/nodejs5/build.sh
  2. 35
      disabled-packages/nodejs5/node.gyp.patch

4
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

35
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
Loading…
Cancel
Save