Browse Source

nodejs: update to 8.0.0

Waldemar Brodkorb 8 years ago
parent
commit
8bc36db0ba

+ 3 - 2
package/nodejs/Makefile

@@ -4,9 +4,9 @@
 include $(ADK_TOPDIR)/rules.mk
 include $(ADK_TOPDIR)/rules.mk
 
 
 PKG_NAME:=		nodejs
 PKG_NAME:=		nodejs
-PKG_VERSION:=		6.9.2
+PKG_VERSION:=		8.0.0
 PKG_RELEASE:=		1
 PKG_RELEASE:=		1
-PKG_HASH:=		997121460f3b4757907c2d7ff68ebdbf87af92b85bf2d07db5a7cb7aa5dae7d9
+PKG_HASH:=		28f2e0bd5f80ff83b244df670d577fe36c1e0f11561deee7d8bbdcbd4ead8fb2
 PKG_DESCR:=		asynchronous event driven framework
 PKG_DESCR:=		asynchronous event driven framework
 PKG_SECTION:=		net/http
 PKG_SECTION:=		net/http
 PKG_DEPENDS:=		zlib
 PKG_DEPENDS:=		zlib
@@ -54,6 +54,7 @@ do-configure:
                 PYTHON=$(STAGING_HOST_DIR)/usr/bin/python2 \
                 PYTHON=$(STAGING_HOST_DIR)/usr/bin/python2 \
                 $(STAGING_HOST_DIR)/usr/bin/python2 ./configure \
                 $(STAGING_HOST_DIR)/usr/bin/python2 ./configure \
 			--prefix=/usr \
 			--prefix=/usr \
+			--cross-compiling \
                 	--without-snapshot \
                 	--without-snapshot \
                 	--without-dtrace \
                 	--without-dtrace \
                 	--without-etw \
                 	--without-etw \

+ 11 - 0
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
+ 

+ 3 - 3
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 @@
 @@ -9,6 +9,8 @@
  
  
  #include <cstdarg>
  #include <cstdarg>
@@ -7,5 +7,5 @@
 +#include <cstdarg>
 +#include <cstdarg>
 +
 +
  #include "src/allocation.h"
  #include "src/allocation.h"
+ #include "src/base/compiler-specific.h"
  #include "src/base/platform/mutex.h"
  #include "src/base/platform/mutex.h"
- #include "src/flags.h"