summaryrefslogtreecommitdiff
path: root/package/nodejs
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2017-06-10 22:34:15 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2017-06-10 22:38:23 +0200
commit8bc36db0ba6e64d762462720f1ba8676a432eda9 (patch)
treea085e881b03d17ff32c91472c5b64f1f84a3b469 /package/nodejs
parent5f91d2a8873568d49f5ce7e9ec1f3bdd6a8f06d0 (diff)
nodejs: update to 8.0.0
Diffstat (limited to 'package/nodejs')
-rw-r--r--package/nodejs/Makefile5
-rw-r--r--package/nodejs/patches/patch-deps_v8_src_base_debug_stack_trace_posix_cc11
-rw-r--r--package/nodejs/patches/patch-deps_v8_src_log-utils_h6
3 files changed, 17 insertions, 5 deletions
diff --git a/package/nodejs/Makefile b/package/nodejs/Makefile
index 9b6ddb388..8af8ce286 100644
--- a/package/nodejs/Makefile
+++ b/package/nodejs/Makefile
@@ -4,9 +4,9 @@
include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= nodejs
-PKG_VERSION:= 6.9.2
+PKG_VERSION:= 8.0.0
PKG_RELEASE:= 1
-PKG_HASH:= 997121460f3b4757907c2d7ff68ebdbf87af92b85bf2d07db5a7cb7aa5dae7d9
+PKG_HASH:= 28f2e0bd5f80ff83b244df670d577fe36c1e0f11561deee7d8bbdcbd4ead8fb2
PKG_DESCR:= asynchronous event driven framework
PKG_SECTION:= net/http
PKG_DEPENDS:= zlib
@@ -54,6 +54,7 @@ do-configure:
PYTHON=$(STAGING_HOST_DIR)/usr/bin/python2 \
$(STAGING_HOST_DIR)/usr/bin/python2 ./configure \
--prefix=/usr \
+ --cross-compiling \
--without-snapshot \
--without-dtrace \
--without-etw \
diff --git a/package/nodejs/patches/patch-deps_v8_src_base_debug_stack_trace_posix_cc b/package/nodejs/patches/patch-deps_v8_src_base_debug_stack_trace_posix_cc
new file mode 100644
index 000000000..433613981
--- /dev/null
+++ b/package/nodejs/patches/patch-deps_v8_src_base_debug_stack_trace_posix_cc
@@ -0,0 +1,11 @@
+--- node-v8.0.0.orig/deps/v8/src/base/debug/stack_trace_posix.cc 2017-05-30 19:31:35.000000000 +0200
++++ node-v8.0.0/deps/v8/src/base/debug/stack_trace_posix.cc 2017-06-01 13:30:13.141625623 +0200
+@@ -25,7 +25,7 @@
+ #include <string>
+ #include <vector>
+
+-#if V8_LIBC_GLIBC || V8_LIBC_BSD || V8_LIBC_UCLIBC || V8_OS_SOLARIS
++#if V8_LIBC_GLIBC || V8_LIBC_BSD || V8_OS_SOLARIS
+ #define HAVE_EXECINFO_H 1
+ #endif
+
diff --git a/package/nodejs/patches/patch-deps_v8_src_log-utils_h b/package/nodejs/patches/patch-deps_v8_src_log-utils_h
index 7ab57b28c..4447e6403 100644
--- a/package/nodejs/patches/patch-deps_v8_src_log-utils_h
+++ b/package/nodejs/patches/patch-deps_v8_src_log-utils_h
@@ -1,5 +1,5 @@
---- node-v6.3.0.orig/deps/v8/src/log-utils.h 2016-07-06 19:14:02.000000000 +0200
-+++ node-v6.3.0/deps/v8/src/log-utils.h 2016-07-15 23:08:09.758831096 +0200
+--- node-v8.0.0.orig/deps/v8/src/log-utils.h 2017-05-30 19:31:39.000000000 +0200
++++ node-v8.0.0/deps/v8/src/log-utils.h 2017-06-01 13:28:54.580576740 +0200
@@ -9,6 +9,8 @@
#include <cstdarg>
@@ -7,5 +7,5 @@
+#include <cstdarg>
+
#include "src/allocation.h"
+ #include "src/base/compiler-specific.h"
#include "src/base/platform/mutex.h"
- #include "src/flags.h"