mirror of
https://github.com/coolsnowwolf/packages
synced 2025-01-09 19:57:38 +08:00
nodejs: bump 12.x to v12.22.12 Final
This commit is contained in:
parent
36cc9cad26
commit
2af4cb5a87
@ -24,9 +24,9 @@ PKG_RELEASE:=1
|
||||
PKG_HASH:=458ec092e60ad700ddcf079cb63d435c15da4c7bb3d3f99b9a8e58a99e54075e
|
||||
PATCH_DIR:=./patches/v14.x
|
||||
else
|
||||
PKG_VERSION:=v12.14.0
|
||||
PKG_RELEASE:=1
|
||||
PKG_HASH:=088a217ba2af641b8cc15be29f6e2956b8a33e6badb85596bbc2cdea9df9be71
|
||||
PKG_VERSION:=v12.22.12
|
||||
PKG_RELEASE:=2
|
||||
PKG_HASH:=bc42b7f8495b9bfc7f7850dd180bb02a5bdf139cc232b8c6f02a6967e20714f2
|
||||
PATCH_DIR:=./patches/v12.x
|
||||
endif
|
||||
endif
|
||||
|
@ -1,8 +1,6 @@
|
||||
diff --git a/deps/v8/src/base/cpu.cc b/deps/v8/src/base/cpu.cc
|
||||
index 4f58720..1f3071e 100644
|
||||
--- a/deps/v8/src/base/cpu.cc
|
||||
+++ b/deps/v8/src/base/cpu.cc
|
||||
@@ -143,6 +143,7 @@ int __detect_fp64_mode(void) {
|
||||
@@ -146,6 +146,7 @@ int __detect_fp64_mode(void) {
|
||||
".set push\n\t"
|
||||
".set noreorder\n\t"
|
||||
".set oddspreg\n\t"
|
||||
|
@ -1,10 +0,0 @@
|
||||
--- a/deps/uv/src/unix/getaddrinfo.c
|
||||
+++ b/deps/uv/src/unix/getaddrinfo.c
|
||||
@@ -103,6 +103,7 @@
|
||||
int err;
|
||||
|
||||
req = container_of(w, uv_getaddrinfo_t, work_req);
|
||||
+ req->hints->ai_flags &= ~AI_V4MAPPED;
|
||||
err = getaddrinfo(req->hostname, req->service, req->hints, &req->addrinfo);
|
||||
req->retcode = uv__getaddrinfo_translate_error(err);
|
||||
}
|
@ -1,11 +1,11 @@
|
||||
--- a/lib/internal/modules/cjs/loader.js
|
||||
+++ b/lib/internal/modules/cjs/loader.js
|
||||
@@ -1109,7 +1109,8 @@
|
||||
} else {
|
||||
prefixDir = path.resolve(process.execPath, '..', '..');
|
||||
}
|
||||
- var paths = [path.resolve(prefixDir, 'lib', 'node')];
|
||||
+ var paths = [path.resolve(prefixDir, 'lib', 'node'),
|
||||
@@ -1109,7 +1109,8 @@ Module._initPaths = function() {
|
||||
path.resolve(process.execPath, '..') :
|
||||
path.resolve(process.execPath, '..', '..');
|
||||
|
||||
- let paths = [path.resolve(prefixDir, 'lib', 'node')];
|
||||
+ let paths = [path.resolve(prefixDir, 'lib', 'node'),
|
||||
+ path.resolve(prefixDir, 'lib', 'node_modules')];
|
||||
|
||||
if (homeDir) {
|
||||
|
@ -1,7 +1,6 @@
|
||||
diff -urN a/deps/v8/src/base/platform/condition-variable.cc b/deps/v8/src/base/platform/condition-variable.cc
|
||||
--- a/deps/v8/src/base/platform/condition-variable.cc 2019-09-05 00:36:23.000000000 +0900
|
||||
+++ b/deps/v8/src/base/platform/condition-variable.cc 2019-09-12 15:10:01.063792083 +0900
|
||||
@@ -16,7 +16,7 @@
|
||||
--- a/deps/v8/src/base/platform/condition-variable.cc
|
||||
+++ b/deps/v8/src/base/platform/condition-variable.cc
|
||||
@@ -16,7 +16,7 @@ namespace base {
|
||||
|
||||
ConditionVariable::ConditionVariable() {
|
||||
#if (V8_OS_FREEBSD || V8_OS_NETBSD || V8_OS_OPENBSD || \
|
||||
@ -10,7 +9,7 @@ diff -urN a/deps/v8/src/base/platform/condition-variable.cc b/deps/v8/src/base/p
|
||||
// On Free/Net/OpenBSD and Linux with glibc we can change the time
|
||||
// source for pthread_cond_timedwait() to use the monotonic clock.
|
||||
pthread_condattr_t attr;
|
||||
@@ -92,7 +92,7 @@
|
||||
@@ -92,7 +92,7 @@ bool ConditionVariable::WaitFor(Mutex* m
|
||||
&native_handle_, &mutex->native_handle(), &ts);
|
||||
#else
|
||||
#if (V8_OS_FREEBSD || V8_OS_NETBSD || V8_OS_OPENBSD || \
|
||||
@ -19,10 +18,9 @@ diff -urN a/deps/v8/src/base/platform/condition-variable.cc b/deps/v8/src/base/p
|
||||
// On Free/Net/OpenBSD and Linux with glibc we can change the time
|
||||
// source for pthread_cond_timedwait() to use the monotonic clock.
|
||||
result = clock_gettime(CLOCK_MONOTONIC, &ts);
|
||||
diff -urN a/deps/v8/src/base/platform/platform-posix.cc b/deps/v8/src/base/platform/platform-posix.cc
|
||||
--- a/deps/v8/src/base/platform/platform-posix.cc 2019-09-05 00:36:23.000000000 +0900
|
||||
+++ b/deps/v8/src/base/platform/platform-posix.cc 2019-09-12 15:10:01.063792083 +0900
|
||||
@@ -773,7 +773,7 @@
|
||||
--- a/deps/v8/src/base/platform/platform-posix.cc
|
||||
+++ b/deps/v8/src/base/platform/platform-posix.cc
|
||||
@@ -772,7 +772,7 @@ bool Thread::Start() {
|
||||
#if V8_OS_MACOSX
|
||||
// Default on Mac OS X is 512kB -- bump up to 1MB
|
||||
stack_size = 1 * 1024 * 1024;
|
||||
@ -31,9 +29,8 @@ diff -urN a/deps/v8/src/base/platform/platform-posix.cc b/deps/v8/src/base/platf
|
||||
// Default on AIX is 96kB -- bump up to 2MB
|
||||
stack_size = 2 * 1024 * 1024;
|
||||
#endif
|
||||
diff -urN a/deps/v8/src/codegen/external-reference-table.cc b/deps/v8/src/codegen/external-reference-table.cc
|
||||
--- a/deps/v8/src/codegen/external-reference-table.cc 2019-09-05 00:36:23.000000000 +0900
|
||||
+++ b/deps/v8/src/codegen/external-reference-table.cc 2019-09-12 15:09:41.959828134 +0900
|
||||
--- a/deps/v8/src/codegen/external-reference-table.cc
|
||||
+++ b/deps/v8/src/codegen/external-reference-table.cc
|
||||
@@ -9,7 +9,7 @@
|
||||
#include "src/ic/stub-cache.h"
|
||||
#include "src/logging/counters.h"
|
||||
@ -43,19 +40,3 @@ diff -urN a/deps/v8/src/codegen/external-reference-table.cc b/deps/v8/src/codege
|
||||
#define SYMBOLIZE_FUNCTION
|
||||
#include <execinfo.h>
|
||||
#include <vector>
|
||||
diff -urN a/deps/v8/src/compiler-dispatcher/optimizing-compile-dispatcher.cc b/deps/v8/src/compiler-dispatcher/optimizing-compile-dispatcher.cc
|
||||
--- a/deps/v8/src/compiler-dispatcher/optimizing-compile-dispatcher.cc 2019-09-05 00:36:23.000000000 +0900
|
||||
+++ b/deps/v8/src/compiler-dispatcher/optimizing-compile-dispatcher.cc 2019-09-12 15:10:01.063792083 +0900
|
||||
@@ -134,8 +134,10 @@
|
||||
// The function may have already been optimized by OSR. Simply continue.
|
||||
// Use a mutex to make sure that functions marked for install
|
||||
// are always also queued.
|
||||
- base::MutexGuard access_output_queue_(&output_queue_mutex_);
|
||||
- output_queue_.push(job);
|
||||
+ {
|
||||
+ base::MutexGuard access_output_queue_(&output_queue_mutex_);
|
||||
+ output_queue_.push(job);
|
||||
+ }
|
||||
}
|
||||
|
||||
isolate_->stack_guard()->RequestInstallCode();
|
||||
|
@ -0,0 +1,21 @@
|
||||
From 7c69553d7275bbcaa88fada8ccd0d2d9f787e1ad Mon Sep 17 00:00:00 2001
|
||||
From: Martin Bark <martin@barkynet.com>
|
||||
Date: Sat, 4 Mar 2017 20:41:40 +0000
|
||||
Subject: [PATCH] check if uclibc has backtrace support
|
||||
|
||||
Signed-off-by: Martin Bark <martin@barkynet.com>
|
||||
---
|
||||
deps/v8/src/base/debug/stack_trace_posix.cc | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
--- a/deps/v8/src/base/debug/stack_trace_posix.cc
|
||||
+++ b/deps/v8/src/base/debug/stack_trace_posix.cc
|
||||
@@ -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_LIBC_UCLIBC && __UCLIBC_HAS_BACKTRACE__ ) || V8_OS_SOLARIS
|
||||
#define HAVE_EXECINFO_H 1
|
||||
#endif
|
||||
|
@ -1,6 +1,6 @@
|
||||
--- a/configure.py
|
||||
+++ b/configure.py
|
||||
@@ -48,7 +48,7 @@
|
||||
@@ -48,7 +48,7 @@ parser = optparse.OptionParser()
|
||||
|
||||
valid_os = ('win', 'mac', 'solaris', 'freebsd', 'openbsd', 'linux',
|
||||
'android', 'aix', 'cloudabi')
|
||||
@ -9,7 +9,7 @@
|
||||
'ppc64', 'x32','x64', 'x86', 'x86_64', 's390x')
|
||||
valid_arm_float_abi = ('soft', 'softfp', 'hard')
|
||||
valid_arm_fpu = ('vfp', 'vfpv3', 'vfpv3-d16', 'neon')
|
||||
@@ -883,6 +883,9 @@
|
||||
@@ -967,6 +967,9 @@ def host_arch_cc():
|
||||
if rtn == 'mipsel' and '_LP64' in k:
|
||||
rtn = 'mips64el'
|
||||
|
||||
@ -19,12 +19,12 @@
|
||||
return rtn
|
||||
|
||||
|
||||
@@ -981,7 +984,7 @@
|
||||
@@ -1074,7 +1077,7 @@ def configure_node(o):
|
||||
|
||||
if target_arch == 'arm':
|
||||
configure_arm(o)
|
||||
- elif target_arch in ('mips', 'mipsel', 'mips64el'):
|
||||
+ elif target_arch in ('mips', 'mipsel', 'mips64', 'mips64el'):
|
||||
configure_mips(o)
|
||||
configure_mips(o, target_arch)
|
||||
|
||||
if flavor == 'aix':
|
||||
|
@ -1,6 +1,6 @@
|
||||
--- a/tools/gyp/pylib/gyp/generator/make.py
|
||||
+++ b/tools/gyp/pylib/gyp/generator/make.py
|
||||
@@ -176,7 +176,7 @@
|
||||
@@ -176,7 +176,7 @@ cmd_solink_module = $(LINK.$(TOOLSET)) -
|
||||
|
||||
LINK_COMMANDS_MAC = """\
|
||||
quiet_cmd_alink = LIBTOOL-STATIC $@
|
||||
|
@ -1,6 +1,6 @@
|
||||
--- a/deps/v8/src/runtime/runtime-utils.h
|
||||
+++ b/deps/v8/src/runtime/runtime-utils.h
|
||||
@@ -126,7 +126,7 @@
|
||||
@@ -126,7 +126,7 @@ static inline ObjectPair MakePair(Object
|
||||
#if defined(V8_TARGET_LITTLE_ENDIAN)
|
||||
return x.ptr() | (static_cast<ObjectPair>(y.ptr()) << 32);
|
||||
#elif defined(V8_TARGET_BIG_ENDIAN)
|
||||
|
@ -1,30 +1,30 @@
|
||||
diff --git a/deps/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/make.py b/deps/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/make.py
|
||||
index 64b9dd267b..1ddd95b86b 100644
|
||||
--- a/deps/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/make.py
|
||||
+++ b/deps/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/make.py
|
||||
@@ -151,6 +151,30 @@ cmd_alink_thin = rm -f $@ && $(AR.$(TOOLSET)) crsT $@ $(filter %.o,$^)
|
||||
@@ -151,6 +151,32 @@ cmd_alink_thin = rm -f $@ && $(AR.$(TOOL
|
||||
quiet_cmd_link = LINK($(TOOLSET)) $@
|
||||
cmd_link = $(LINK.$(TOOLSET)) $(GYP_LDFLAGS) $(LDFLAGS.$(TOOLSET)) -o $@ -Wl,--start-group $(LD_INPUTS) $(LIBS) -Wl,--end-group
|
||||
|
||||
+define xargs
|
||||
+$(1) $(wordlist 1,1000,$(2))
|
||||
+$(if $(word 1001,$(2)),$(call xargs,$(1),$(wordlist 1001,$(words $(2)),$(2))))
|
||||
+ $(1) $(wordlist 1,100,$(2))
|
||||
+ $(if $(word 101,$(2)),$(call xargs,$(1),$(wordlist 101,$(words $(2)),$(2))))
|
||||
+endef
|
||||
+
|
||||
+define write-to-file
|
||||
+@: >$(1)
|
||||
+$(call xargs,@printf "%s\\n" >>$(1),$(2))
|
||||
+ @echo >$(1)
|
||||
+ $(call xargs,printf "%s\\n" >>$(1),$(2))
|
||||
+endef
|
||||
+
|
||||
+OBJ_FILE_LIST := ar-file-list
|
||||
+OBJ_FILE_LIST_SFX := ar-file-list
|
||||
+
|
||||
+define create_archive
|
||||
+ $(eval OBJ_FILE_LIST := $(basename $(notdir $(1))).$(OBJ_FILE_LIST_SFX))
|
||||
+ rm -f $(1) $(1).$(OBJ_FILE_LIST); mkdir -p `dirname $(1)`
|
||||
+ $(call write-to-file,$(1).$(OBJ_FILE_LIST),$(filter %.o,$(2)))
|
||||
+ $(AR.$(TOOLSET)) crs $(1) @$(1).$(OBJ_FILE_LIST)
|
||||
+endef
|
||||
+
|
||||
+define create_thin_archive
|
||||
+ $(eval OBJ_FILE_LIST := $(basename $(notdir $(1))).$(OBJ_FILE_LIST_SFX))
|
||||
+ rm -f $(1) $(OBJ_FILE_LIST); mkdir -p `dirname $(1)`
|
||||
+ $(call write-to-file,$(1).$(OBJ_FILE_LIST),$(filter %.o,$(2)))
|
||||
+ $(AR.$(TOOLSET)) crsT $(1) @$(1).$(OBJ_FILE_LIST)
|
||||
@ -33,29 +33,31 @@ index 64b9dd267b..1ddd95b86b 100644
|
||||
# We support two kinds of shared objects (.so):
|
||||
# 1) shared_library, which is just bundling together many dependent libraries
|
||||
# into a link line.
|
||||
@@ -195,6 +219,30 @@ cmd_alink = rm -f $@ && $(AR.$(TOOLSET)) crs $@ $(filter %.o,$^)
|
||||
@@ -195,6 +221,32 @@ cmd_alink = rm -f $@ && $(AR.$(TOOLSET))
|
||||
quiet_cmd_alink_thin = AR($(TOOLSET)) $@
|
||||
cmd_alink_thin = rm -f $@ && $(AR.$(TOOLSET)) crsT $@ $(filter %.o,$^)
|
||||
|
||||
+define xargs
|
||||
+$(1) $(wordlist 1,1000,$(2))
|
||||
+$(if $(word 1001,$(2)),$(call xargs,$(1),$(wordlist 1001,$(words $(2)),$(2))))
|
||||
+ $(1) $(wordlist 1,100,$(2))
|
||||
+ $(if $(word 101,$(2)),$(call xargs,$(1),$(wordlist 101,$(words $(2)),$(2))))
|
||||
+endef
|
||||
+
|
||||
+define write-to-file
|
||||
+@: >$(1)
|
||||
+$(call xargs,@printf "%s\\n" >>$(1),$(2))
|
||||
+ @echo >$(1)
|
||||
+ $(call xargs,printf "%s\\n" >>$(1),$(2))
|
||||
+endef
|
||||
+
|
||||
+OBJ_FILE_LIST := ar-file-list
|
||||
+OBJ_FILE_LIST_SFX := ar-file-list
|
||||
+
|
||||
+define create_archive
|
||||
+ $(eval OBJ_FILE_LIST := $(basename $(notdir $(1))).$(OBJ_FILE_LIST_SFX))
|
||||
+ rm -f $(1) $(1).$(OBJ_FILE_LIST); mkdir -p `dirname $(1)`
|
||||
+ $(call write-to-file,$(1).$(OBJ_FILE_LIST),$(filter %.o,$(2)))
|
||||
+ $(AR.$(TOOLSET)) crs $(1) @$(1).$(OBJ_FILE_LIST)
|
||||
+endef
|
||||
+
|
||||
+define create_thin_archive
|
||||
+ $(eval OBJ_FILE_LIST := $(basename $(notdir $(1))).$(OBJ_FILE_LIST_SFX))
|
||||
+ rm -f $(1) $(OBJ_FILE_LIST); mkdir -p `dirname $(1)`
|
||||
+ $(call write-to-file,$(1).$(OBJ_FILE_LIST),$(filter %.o,$(2)))
|
||||
+ $(AR.$(TOOLSET)) crsT $(1) @$(1).$(OBJ_FILE_LIST)
|
||||
@ -64,7 +66,7 @@ index 64b9dd267b..1ddd95b86b 100644
|
||||
# Due to circular dependencies between libraries :(, we wrap the
|
||||
# special "figure out circular dependencies" flags around the entire
|
||||
# input list during linking.
|
||||
@@ -1612,11 +1660,17 @@ $(obj).$(TOOLSET)/$(TARGET)/%%.o: $(obj)/%%%s FORCE_DO_CMD
|
||||
@@ -1612,11 +1664,17 @@ $(obj).$(TOOLSET)/$(TARGET)/%%.o: $(obj)
|
||||
"Spaces in alink input filenames not supported (%s)" % link_dep)
|
||||
if (self.flavor not in ('mac', 'openbsd', 'netbsd', 'win') and not
|
||||
self.is_standalone_static_library):
|
||||
@ -86,33 +88,33 @@ index 64b9dd267b..1ddd95b86b 100644
|
||||
elif self.type == 'shared_library':
|
||||
self.WriteLn('%s: LD_INPUTS := %s' % (
|
||||
QuoteSpaces(self.output_binary),
|
||||
diff --git a/tools/gyp/pylib/gyp/generator/make.py b/tools/gyp/pylib/gyp/generator/make.py
|
||||
index f7f519b3e6..ce3ef71e4a 100644
|
||||
--- a/tools/gyp/pylib/gyp/generator/make.py
|
||||
+++ b/tools/gyp/pylib/gyp/generator/make.py
|
||||
@@ -151,6 +151,30 @@ cmd_alink_thin = rm -f $@ && $(AR.$(TOOLSET)) crsT $@ $(filter %.o,$^)
|
||||
@@ -151,6 +151,32 @@ cmd_alink_thin = rm -f $@ && $(AR.$(TOOL
|
||||
quiet_cmd_link = LINK($(TOOLSET)) $@
|
||||
cmd_link = $(LINK.$(TOOLSET)) -o $@ $(GYP_LDFLAGS) $(LDFLAGS.$(TOOLSET)) -Wl,--start-group $(LD_INPUTS) $(LIBS) -Wl,--end-group
|
||||
|
||||
+define xargs
|
||||
+$(1) $(wordlist 1,1000,$(2))
|
||||
+$(if $(word 1001,$(2)),$(call xargs,$(1),$(wordlist 1001,$(words $(2)),$(2))))
|
||||
+ $(1) $(wordlist 1,100,$(2))
|
||||
+ $(if $(word 101,$(2)),$(call xargs,$(1),$(wordlist 101,$(words $(2)),$(2))))
|
||||
+endef
|
||||
+
|
||||
+define write-to-file
|
||||
+@: >$(1)
|
||||
+$(call xargs,@printf "%s\\n" >>$(1),$(2))
|
||||
+ @echo >$(1)
|
||||
+ $(call xargs,printf "%s\\n" >>$(1),$(2))
|
||||
+endef
|
||||
+
|
||||
+OBJ_FILE_LIST := ar-file-list
|
||||
+OBJ_FILE_LIST_SFX := ar-file-list
|
||||
+
|
||||
+define create_archive
|
||||
+ $(eval OBJ_FILE_LIST := $(basename $(notdir $(1))).$(OBJ_FILE_LIST_SFX))
|
||||
+ rm -f $(1) $(1).$(OBJ_FILE_LIST); mkdir -p `dirname $(1)`
|
||||
+ $(call write-to-file,$(1).$(OBJ_FILE_LIST),$(filter %.o,$(2)))
|
||||
+ $(AR.$(TOOLSET)) crs $(1) @$(1).$(OBJ_FILE_LIST)
|
||||
+endef
|
||||
+
|
||||
+define create_thin_archive
|
||||
+ $(eval OBJ_FILE_LIST := $(basename $(notdir $(1))).$(OBJ_FILE_LIST_SFX))
|
||||
+ rm -f $(1) $(OBJ_FILE_LIST); mkdir -p `dirname $(1)`
|
||||
+ $(call write-to-file,$(1).$(OBJ_FILE_LIST),$(filter %.o,$(2)))
|
||||
+ $(AR.$(TOOLSET)) crsT $(1) @$(1).$(OBJ_FILE_LIST)
|
||||
@ -121,29 +123,31 @@ index f7f519b3e6..ce3ef71e4a 100644
|
||||
# We support two kinds of shared objects (.so):
|
||||
# 1) shared_library, which is just bundling together many dependent libraries
|
||||
# into a link line.
|
||||
@@ -195,6 +219,30 @@ cmd_alink = rm -f $@ && $(AR.$(TOOLSET)) crs $@ $(filter %.o,$^)
|
||||
@@ -195,6 +221,32 @@ cmd_alink = rm -f $@ && $(AR.$(TOOLSET))
|
||||
quiet_cmd_alink_thin = AR($(TOOLSET)) $@
|
||||
cmd_alink_thin = rm -f $@ && $(AR.$(TOOLSET)) crsT $@ $(filter %.o,$^)
|
||||
|
||||
+define xargs
|
||||
+$(1) $(wordlist 1,1000,$(2))
|
||||
+$(if $(word 1001,$(2)),$(call xargs,$(1),$(wordlist 1001,$(words $(2)),$(2))))
|
||||
+ $(1) $(wordlist 1,100,$(2))
|
||||
+ $(if $(word 101,$(2)),$(call xargs,$(1),$(wordlist 101,$(words $(2)),$(2))))
|
||||
+endef
|
||||
+
|
||||
+define write-to-file
|
||||
+@: >$(1)
|
||||
+$(call xargs,@printf "%s\\n" >>$(1),$(2))
|
||||
+ @echo >$(1)
|
||||
+ $(call xargs,printf "%s\\n" >>$(1),$(2))
|
||||
+endef
|
||||
+
|
||||
+OBJ_FILE_LIST := ar-file-list
|
||||
+OBJ_FILE_LIST_SFX := ar-file-list
|
||||
+
|
||||
+define create_archive
|
||||
+ $(eval OBJ_FILE_LIST := $(basename $(notdir $(1))).$(OBJ_FILE_LIST_SFX))
|
||||
+ rm -f $(1) $(1).$(OBJ_FILE_LIST); mkdir -p `dirname $(1)`
|
||||
+ $(call write-to-file,$(1).$(OBJ_FILE_LIST),$(filter %.o,$(2)))
|
||||
+ $(AR.$(TOOLSET)) crs $(1) @$(1).$(OBJ_FILE_LIST)
|
||||
+endef
|
||||
+
|
||||
+define create_thin_archive
|
||||
+ $(eval OBJ_FILE_LIST := $(basename $(notdir $(1))).$(OBJ_FILE_LIST_SFX))
|
||||
+ rm -f $(1) $(OBJ_FILE_LIST); mkdir -p `dirname $(1)`
|
||||
+ $(call write-to-file,$(1).$(OBJ_FILE_LIST),$(filter %.o,$(2)))
|
||||
+ $(AR.$(TOOLSET)) crsT $(1) @$(1).$(OBJ_FILE_LIST)
|
||||
@ -152,7 +156,7 @@ index f7f519b3e6..ce3ef71e4a 100644
|
||||
# Due to circular dependencies between libraries :(, we wrap the
|
||||
# special "figure out circular dependencies" flags around the entire
|
||||
# input list during linking.
|
||||
@@ -1591,11 +1639,17 @@ $(obj).$(TOOLSET)/$(TARGET)/%%.o: $(obj)/%%%s FORCE_DO_CMD
|
||||
@@ -1612,11 +1664,17 @@ $(obj).$(TOOLSET)/$(TARGET)/%%.o: $(obj)
|
||||
"Spaces in alink input filenames not supported (%s)" % link_dep)
|
||||
if (self.flavor not in ('mac', 'openbsd', 'netbsd', 'win') and not
|
||||
self.is_standalone_static_library):
|
||||
|
@ -1,8 +1,6 @@
|
||||
diff --git a/deps/npm/lib/config/defaults.js b/deps/npm/lib/config/defaults.js
|
||||
index da019ac4d6..8b81e28940 100644
|
||||
--- a/deps/npm/lib/config/defaults.js
|
||||
+++ b/deps/npm/lib/config/defaults.js
|
||||
@@ -175,7 +175,7 @@ Object.defineProperty(exports, 'defaults', {get: function () {
|
||||
@@ -175,7 +175,7 @@ Object.defineProperty(exports, 'defaults
|
||||
'legacy-bundling': false,
|
||||
link: false,
|
||||
'local-address': undefined,
|
||||
@ -11,7 +9,7 @@ index da019ac4d6..8b81e28940 100644
|
||||
logstream: process.stderr,
|
||||
'logs-max': 10,
|
||||
long: false,
|
||||
@@ -231,7 +231,7 @@ Object.defineProperty(exports, 'defaults', {get: function () {
|
||||
@@ -231,7 +231,7 @@ Object.defineProperty(exports, 'defaults
|
||||
'sign-git-tag': false,
|
||||
'sso-poll-frequency': 500,
|
||||
'sso-type': 'oauth',
|
||||
|
@ -8,11 +8,9 @@ Subject: [PATCH] npm: overriding unsafe-perm setting to install packages
|
||||
deps/npm/lib/config/defaults.js | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/deps/npm/lib/config/defaults.js b/deps/npm/lib/config/defaults.js
|
||||
index f023d85724..49a9b9936c 100644
|
||||
--- a/deps/npm/lib/config/defaults.js
|
||||
+++ b/deps/npm/lib/config/defaults.js
|
||||
@@ -243,7 +243,7 @@
|
||||
@@ -243,7 +243,7 @@ Object.defineProperty(exports, 'defaults
|
||||
process.getgid && process.setgid) ||
|
||||
process.getuid() !== 0,
|
||||
'update-notifier': true,
|
||||
@ -21,6 +19,3 @@ index f023d85724..49a9b9936c 100644
|
||||
user: (process.platform === 'win32' || os.type() === 'OS400') ? 0 : 'nobody',
|
||||
userconfig: path.resolve(home, '.npmrc'),
|
||||
umask: process.umask ? process.umask() : umask.fromString('022'),
|
||||
--
|
||||
2.14.2
|
||||
|
||||
|
@ -32,9 +32,9 @@
|
||||
'dependencies': [ 'icutools' ],
|
||||
'sources': [
|
||||
'<@(icu_src_genccode)',
|
||||
--- a/tools/v8_gypfiles/v8.gyp 2019-06-27 19:12:20.000000000 +0900
|
||||
+++ b/tools/v8_gypfiles/v8.gyp 2019-07-01 14:40:48.292020880 +0900
|
||||
@@ -1251,6 +1251,7 @@
|
||||
--- a/tools/v8_gypfiles/v8.gyp
|
||||
+++ b/tools/v8_gypfiles/v8.gyp
|
||||
@@ -1255,6 +1255,7 @@
|
||||
{
|
||||
'target_name': 'bytecode_builtins_list_generator',
|
||||
'type': 'executable',
|
||||
@ -42,16 +42,16 @@
|
||||
'conditions': [
|
||||
['want_separate_host_toolset', {
|
||||
'toolsets': ['host'],
|
||||
@@ -1274,6 +1275,8 @@
|
||||
@@ -1278,6 +1279,8 @@
|
||||
{
|
||||
'target_name': 'mksnapshot',
|
||||
'type': 'executable',
|
||||
+ 'libraries!':[ '-lcrypto', '-lssl', '-lz', '-lhttp_parser', '-luv', '-lnghttp2', '-lcares' ],
|
||||
+ 'library_dirs':[ '../../../../staging_dir/hostpkg/share/icu/65.1/lib' ],
|
||||
+ 'library_dirs':[ '../../../../staging_dir/hostpkg/share/icu/current/lib' ],
|
||||
'dependencies': [
|
||||
'v8_base_without_compiler',
|
||||
'v8_compiler_for_mksnapshot',
|
||||
@@ -1296,6 +1299,7 @@
|
||||
@@ -1300,6 +1303,7 @@
|
||||
{
|
||||
'target_name': 'torque',
|
||||
'type': 'executable',
|
||||
@ -59,7 +59,7 @@
|
||||
'dependencies': [
|
||||
'torque_base',
|
||||
# "build/win:default_exe_manifest",
|
||||
@@ -1334,6 +1338,7 @@
|
||||
@@ -1338,6 +1342,7 @@
|
||||
{
|
||||
'target_name': 'torque-language-server',
|
||||
'type': 'executable',
|
||||
@ -67,12 +67,12 @@
|
||||
'conditions': [
|
||||
['want_separate_host_toolset', {
|
||||
'toolsets': ['host'],
|
||||
@@ -1361,6 +1366,8 @@
|
||||
@@ -1365,6 +1370,8 @@
|
||||
{
|
||||
'target_name': 'gen-regexp-special-case',
|
||||
'type': 'executable',
|
||||
+ 'libraries!':[ '-lcrypto', '-lssl', '-lz', '-lhttp_parser', '-luv', '-lnghttp2', '-lcares' ],
|
||||
+ 'library_dirs':[ '../../../../staging_dir/hostpkg/share/icu/65.1/lib' ],
|
||||
+ 'library_dirs':[ '../../../../staging_dir/hostpkg/share/icu/current/lib' ],
|
||||
'dependencies': [
|
||||
'v8_libbase',
|
||||
# "build/win:default_exe_manifest",
|
||||
|
@ -23700,9 +23700,9 @@ diff -urN a/deps/openssl/openssl_asm.gypi b/deps/openssl/openssl_asm.gypi
|
||||
+ 'includes': ['config/archs/linux-mips/asm/openssl.gypi'],
|
||||
+ }, 'target_arch=="mipsel" and OS=="linux"', {
|
||||
+ 'includes': ['config/archs/linux-mipsel/asm/openssl.gypi'],
|
||||
}, 'target_arch=="arm64" and OS=="mac"', {
|
||||
'includes': ['config/archs/darwin64-arm64-cc/asm/openssl.gypi'],
|
||||
}, 'target_arch=="ia32" and OS=="freebsd"', {
|
||||
'includes': ['config/archs/BSD-x86/asm/openssl.gypi'],
|
||||
}, 'target_arch=="ia32" and OS=="linux"', {
|
||||
diff -urN a/deps/openssl/openssl-cl_asm.gypi b/deps/openssl/openssl-cl_asm.gypi
|
||||
--- a/deps/openssl/openssl-cl_asm.gypi 2019-12-17 16:05:03.000000000 +0900
|
||||
+++ b/deps/openssl/openssl-cl_asm.gypi 2019-12-25 13:49:19.996298773 +0900
|
||||
|
74
lang/node/patches/v12.x/999-fix_icu_conflict.patch
Normal file
74
lang/node/patches/v12.x/999-fix_icu_conflict.patch
Normal file
@ -0,0 +1,74 @@
|
||||
--- a/tools/icu/icu-generic.gyp
|
||||
+++ b/tools/icu/icu-generic.gyp
|
||||
@@ -181,6 +181,7 @@
|
||||
'<(icu_path)/source/i18n/uspoof_wsconf.h',
|
||||
]}],
|
||||
],
|
||||
+ 'include_dirs!': [ '<!@(echo "$STAGING_DIR"/usr/include)' ],
|
||||
'include_dirs': [
|
||||
'<(icu_path)/source/i18n',
|
||||
],
|
||||
@@ -189,6 +190,7 @@
|
||||
],
|
||||
'dependencies': [ 'icuucx', 'icu_implementation', 'icu_uconfig', 'icu_uconfig_target' ],
|
||||
'direct_dependent_settings': {
|
||||
+ 'include_dirs!': [ '<!@(echo "$STAGING_DIR"/usr/include)' ],
|
||||
'include_dirs': [
|
||||
'<(icu_path)/source/i18n',
|
||||
],
|
||||
@@ -274,6 +276,7 @@
|
||||
# full data - just build the full data file, then we are done.
|
||||
'sources': [ '<(SHARED_INTERMEDIATE_DIR)/icudt<(icu_ver_major)_dat.c' ],
|
||||
'dependencies': [ 'genccode#host', 'icupkg#host', 'icu_implementation#host', 'icu_uconfig' ],
|
||||
+ 'include_dirs!': [ '<!@(echo "$STAGING_DIR"/usr/include)' ],
|
||||
'include_dirs': [
|
||||
'<(icu_path)/source/common',
|
||||
],
|
||||
@@ -354,6 +357,7 @@
|
||||
# This file contains the small ICU data
|
||||
'sources': [ '<(SHARED_INTERMEDIATE_DIR)/icusmdt<(icu_ver_major)_dat.c' ],
|
||||
# for umachine.h
|
||||
+ 'include_dirs!': [ '<!@(echo "$STAGING_DIR"/usr/include)' ],
|
||||
'include_dirs': [
|
||||
'<(icu_path)/source/common',
|
||||
],
|
||||
@@ -370,6 +374,7 @@
|
||||
'sources': [
|
||||
'<@(icu_src_stubdata)'
|
||||
],
|
||||
+ 'include_dirs!': [ '<!@(echo "$STAGING_DIR"/usr/include)' ],
|
||||
'include_dirs': [
|
||||
'<(icu_path)/source/common',
|
||||
],
|
||||
@@ -438,6 +443,7 @@
|
||||
'_XOPEN_SOURCE_EXTENDED=0',
|
||||
]}],
|
||||
],
|
||||
+ 'include_dirs!': [ '<!@(echo "$STAGING_DIR"/usr/include)' ],
|
||||
'include_dirs': [
|
||||
'<(icu_path)/source/common',
|
||||
],
|
||||
@@ -447,6 +453,7 @@
|
||||
'cflags_c': ['-std=c99'],
|
||||
'export_dependent_settings': [ 'icu_uconfig', 'icu_uconfig_target' ],
|
||||
'direct_dependent_settings': {
|
||||
+ 'include_dirs!': [ '<!@(echo "$STAGING_DIR"/usr/include)' ],
|
||||
'include_dirs': [
|
||||
'<(icu_path)/source/common',
|
||||
],
|
||||
@@ -477,6 +484,7 @@
|
||||
'<(icu_path)/source/tools/toolutil/dbgutil.cpp',
|
||||
'<(icu_path)/source/tools/toolutil/dbgutil.h',
|
||||
],
|
||||
+ 'include_dirs!': [ '<!@(echo "$STAGING_DIR"/usr/include)' ],
|
||||
'include_dirs': [
|
||||
'<(icu_path)/source/common',
|
||||
'<(icu_path)/source/i18n',
|
||||
@@ -496,6 +504,7 @@
|
||||
}]
|
||||
],
|
||||
'direct_dependent_settings': {
|
||||
+ 'include_dirs!': [ '<!@(echo "$STAGING_DIR"/usr/include)' ],
|
||||
'include_dirs': [
|
||||
'<(icu_path)/source/common',
|
||||
'<(icu_path)/source/i18n',
|
29
lang/node/patches/v12.x/999-localhost-no-addrconfig.patch
Normal file
29
lang/node/patches/v12.x/999-localhost-no-addrconfig.patch
Normal file
@ -0,0 +1,29 @@
|
||||
Description: do not use dns.ADDRCONFIG for localhost
|
||||
it fails on IPv6-only systems. Setting it with libc fails on linux.
|
||||
https://github.com/nodejs/node/issues/33279
|
||||
Author: Jérémy Lal <kapouer@melix.org>
|
||||
Last-Update: 2020-06-11
|
||||
Bug-Debian: https://bugs.debian.org/962318
|
||||
Forwarded: https://github.com/nodejs/node/issues/33816
|
||||
--- a/lib/net.js
|
||||
+++ b/lib/net.js
|
||||
@@ -1,4 +1,5 @@
|
||||
// Copyright Joyent, Inc. and other Node contributors.
|
||||
+
|
||||
//
|
||||
// Permission is hereby granted, free of charge, to any person obtaining a
|
||||
// copy of this software and associated documentation files (the
|
||||
@@ -1028,13 +1029,6 @@ function lookupAndConnect(self, options)
|
||||
hints: options.hints || 0
|
||||
};
|
||||
|
||||
- if (!isWindows &&
|
||||
- dnsopts.family !== 4 &&
|
||||
- dnsopts.family !== 6 &&
|
||||
- dnsopts.hints === 0) {
|
||||
- dnsopts.hints = dns.ADDRCONFIG;
|
||||
- }
|
||||
-
|
||||
debug('connect: find host', host);
|
||||
debug('connect: dns options', dnsopts);
|
||||
self._host = host;
|
210
lang/node/patches/v12.x/999-mips-fix.patch
Normal file
210
lang/node/patches/v12.x/999-mips-fix.patch
Normal file
@ -0,0 +1,210 @@
|
||||
Description: upstream mips fix
|
||||
Origin: https://github.com/nodejs/node/issues/31118
|
||||
Last-Update: 2020-05-30
|
||||
|
||||
--- a/deps/v8/AUTHORS
|
||||
+++ b/deps/v8/AUTHORS
|
||||
@@ -106,6 +106,7 @@ James Pike <g00gle@chilon.net>
|
||||
James M Snell <jasnell@gmail.com>
|
||||
Jianghua Yang <jianghua.yjh@alibaba-inc.com>
|
||||
Jiawen Geng <technicalcute@gmail.com>
|
||||
+Jiaxun Yang <jiaxun.yang@flygoat.com>
|
||||
Joel Stanley <joel@jms.id.au>
|
||||
Johan Bergström <johan@bergstroem.nu>
|
||||
Jonathan Liu <net147@gmail.com>
|
||||
--- a/deps/v8/src/snapshot/embedded/platform-embedded-file-writer-aix.cc
|
||||
+++ b/deps/v8/src/snapshot/embedded/platform-embedded-file-writer-aix.cc
|
||||
@@ -94,10 +94,6 @@ void PlatformEmbeddedFileWriterAIX::Decl
|
||||
|
||||
void PlatformEmbeddedFileWriterAIX::DeclareFunctionEnd(const char* name) {}
|
||||
|
||||
-int PlatformEmbeddedFileWriterAIX::HexLiteral(uint64_t value) {
|
||||
- return fprintf(fp_, "0x%" PRIx64, value);
|
||||
-}
|
||||
-
|
||||
void PlatformEmbeddedFileWriterAIX::FilePrologue() {}
|
||||
|
||||
void PlatformEmbeddedFileWriterAIX::DeclareExternalFilename(
|
||||
@@ -120,12 +116,6 @@ DataDirective PlatformEmbeddedFileWriter
|
||||
return kLong;
|
||||
}
|
||||
|
||||
-int PlatformEmbeddedFileWriterAIX::WriteByteChunk(const uint8_t* data) {
|
||||
- DCHECK_EQ(ByteChunkDataDirective(), kLong);
|
||||
- const uint32_t* long_ptr = reinterpret_cast<const uint32_t*>(data);
|
||||
- return HexLiteral(*long_ptr);
|
||||
-}
|
||||
-
|
||||
#undef SYMBOL_PREFIX
|
||||
|
||||
} // namespace internal
|
||||
--- a/deps/v8/src/snapshot/embedded/platform-embedded-file-writer-aix.h
|
||||
+++ b/deps/v8/src/snapshot/embedded/platform-embedded-file-writer-aix.h
|
||||
@@ -37,8 +37,6 @@ class PlatformEmbeddedFileWriterAIX : pu
|
||||
void DeclareFunctionBegin(const char* name) override;
|
||||
void DeclareFunctionEnd(const char* name) override;
|
||||
|
||||
- int HexLiteral(uint64_t value) override;
|
||||
-
|
||||
void Comment(const char* string) override;
|
||||
|
||||
void FilePrologue() override;
|
||||
@@ -48,7 +46,6 @@ class PlatformEmbeddedFileWriterAIX : pu
|
||||
int IndentedDataDirective(DataDirective directive) override;
|
||||
|
||||
DataDirective ByteChunkDataDirective() const override;
|
||||
- int WriteByteChunk(const uint8_t* data) override;
|
||||
|
||||
private:
|
||||
void DeclareSymbolGlobal(const char* name);
|
||||
--- a/deps/v8/src/snapshot/embedded/platform-embedded-file-writer-base.cc
|
||||
+++ b/deps/v8/src/snapshot/embedded/platform-embedded-file-writer-base.cc
|
||||
@@ -24,6 +24,10 @@ DataDirective PointerSizeDirective() {
|
||||
}
|
||||
}
|
||||
|
||||
+int PlatformEmbeddedFileWriterBase::HexLiteral(uint64_t value) {
|
||||
+ return fprintf(fp_, "0x%" PRIx64, value);
|
||||
+}
|
||||
+
|
||||
int DataDirectiveSize(DataDirective directive) {
|
||||
switch (directive) {
|
||||
case kByte:
|
||||
@@ -39,24 +43,37 @@ int DataDirectiveSize(DataDirective dire
|
||||
}
|
||||
|
||||
int PlatformEmbeddedFileWriterBase::WriteByteChunk(const uint8_t* data) {
|
||||
- DCHECK_EQ(ByteChunkDataDirective(), kOcta);
|
||||
-
|
||||
- static constexpr size_t kSize = kInt64Size;
|
||||
-
|
||||
- uint64_t part1, part2;
|
||||
- // Use memcpy for the reads since {data} is not guaranteed to be aligned.
|
||||
+ size_t kSize = DataDirectiveSize(ByteChunkDataDirective());
|
||||
+ size_t kHalfSize = kSize / 2;
|
||||
+ uint64_t high = 0, low = 0;
|
||||
+
|
||||
+ switch (kSize) {
|
||||
+ case 1:
|
||||
+ low = *data;
|
||||
+ break;
|
||||
+ case 4:
|
||||
+ low = *reinterpret_cast<const uint32_t*>(data);
|
||||
+ break;
|
||||
+ case 8:
|
||||
+ low = *reinterpret_cast<const uint64_t*>(data);
|
||||
+ break;
|
||||
+ case 16:
|
||||
#ifdef V8_TARGET_BIG_ENDIAN
|
||||
- memcpy(&part1, data, kSize);
|
||||
- memcpy(&part2, data + kSize, kSize);
|
||||
+ memcpy(&high, data, kHalfSize);
|
||||
+ memcpy(&low, data + kHalfSize, kHalfSize);
|
||||
#else
|
||||
- memcpy(&part1, data + kSize, kSize);
|
||||
- memcpy(&part2, data, kSize);
|
||||
+ memcpy(&high, data + kHalfSize, kHalfSize);
|
||||
+ memcpy(&low, data, kHalfSize);
|
||||
#endif // V8_TARGET_BIG_ENDIAN
|
||||
+ break;
|
||||
+ default:
|
||||
+ UNREACHABLE();
|
||||
+ }
|
||||
|
||||
- if (part1 != 0) {
|
||||
- return fprintf(fp(), "0x%" PRIx64 "%016" PRIx64, part1, part2);
|
||||
+ if (high != 0) {
|
||||
+ return fprintf(fp(), "0x%" PRIx64 "%016" PRIx64, high, low);
|
||||
} else {
|
||||
- return fprintf(fp(), "0x%" PRIx64, part2);
|
||||
+ return fprintf(fp(), "0x%" PRIx64, low);
|
||||
}
|
||||
}
|
||||
|
||||
--- a/deps/v8/src/snapshot/embedded/platform-embedded-file-writer-base.h
|
||||
+++ b/deps/v8/src/snapshot/embedded/platform-embedded-file-writer-base.h
|
||||
@@ -67,7 +67,7 @@ class PlatformEmbeddedFileWriterBase {
|
||||
virtual void DeclareFunctionEnd(const char* name) = 0;
|
||||
|
||||
// Returns the number of printed characters.
|
||||
- virtual int HexLiteral(uint64_t value) = 0;
|
||||
+ virtual int HexLiteral(uint64_t value);
|
||||
|
||||
virtual void Comment(const char* string) = 0;
|
||||
virtual void Newline() { fprintf(fp_, "\n"); }
|
||||
--- a/deps/v8/src/snapshot/embedded/platform-embedded-file-writer-generic.cc
|
||||
+++ b/deps/v8/src/snapshot/embedded/platform-embedded-file-writer-generic.cc
|
||||
@@ -112,10 +112,6 @@ void PlatformEmbeddedFileWriterGeneric::
|
||||
|
||||
void PlatformEmbeddedFileWriterGeneric::DeclareFunctionEnd(const char* name) {}
|
||||
|
||||
-int PlatformEmbeddedFileWriterGeneric::HexLiteral(uint64_t value) {
|
||||
- return fprintf(fp_, "0x%" PRIx64, value);
|
||||
-}
|
||||
-
|
||||
void PlatformEmbeddedFileWriterGeneric::FilePrologue() {}
|
||||
|
||||
void PlatformEmbeddedFileWriterGeneric::DeclareExternalFilename(
|
||||
@@ -142,6 +138,18 @@ int PlatformEmbeddedFileWriterGeneric::I
|
||||
return fprintf(fp_, " %s ", DirectiveAsString(directive));
|
||||
}
|
||||
|
||||
+DataDirective PlatformEmbeddedFileWriterGeneric::ByteChunkDataDirective()
|
||||
+ const {
|
||||
+#if defined(V8_TARGET_ARCH_MIPS) || defined(V8_TARGET_ARCH_MIPS64)
|
||||
+ // MIPS uses a fixed 4 byte instruction set, using .long
|
||||
+ // to prevent any unnecessary padding.
|
||||
+ return kLong;
|
||||
+#else
|
||||
+ // Other ISAs just listen to the base
|
||||
+ return PlatformEmbeddedFileWriterBase::ByteChunkDataDirective();
|
||||
+#endif
|
||||
+}
|
||||
+
|
||||
#undef SYMBOL_PREFIX
|
||||
|
||||
} // namespace internal
|
||||
--- a/deps/v8/src/snapshot/embedded/platform-embedded-file-writer-generic.h
|
||||
+++ b/deps/v8/src/snapshot/embedded/platform-embedded-file-writer-generic.h
|
||||
@@ -39,8 +39,6 @@ class PlatformEmbeddedFileWriterGeneric
|
||||
void DeclareFunctionBegin(const char* name) override;
|
||||
void DeclareFunctionEnd(const char* name) override;
|
||||
|
||||
- int HexLiteral(uint64_t value) override;
|
||||
-
|
||||
void Comment(const char* string) override;
|
||||
|
||||
void FilePrologue() override;
|
||||
@@ -49,6 +47,8 @@ class PlatformEmbeddedFileWriterGeneric
|
||||
|
||||
int IndentedDataDirective(DataDirective directive) override;
|
||||
|
||||
+ DataDirective ByteChunkDataDirective() const override;
|
||||
+
|
||||
private:
|
||||
void DeclareSymbolGlobal(const char* name);
|
||||
|
||||
--- a/deps/v8/src/snapshot/embedded/platform-embedded-file-writer-mac.cc
|
||||
+++ b/deps/v8/src/snapshot/embedded/platform-embedded-file-writer-mac.cc
|
||||
@@ -87,10 +87,6 @@ void PlatformEmbeddedFileWriterMac::Decl
|
||||
|
||||
void PlatformEmbeddedFileWriterMac::DeclareFunctionEnd(const char* name) {}
|
||||
|
||||
-int PlatformEmbeddedFileWriterMac::HexLiteral(uint64_t value) {
|
||||
- return fprintf(fp_, "0x%" PRIx64, value);
|
||||
-}
|
||||
-
|
||||
void PlatformEmbeddedFileWriterMac::FilePrologue() {}
|
||||
|
||||
void PlatformEmbeddedFileWriterMac::DeclareExternalFilename(
|
||||
--- a/deps/v8/src/snapshot/embedded/platform-embedded-file-writer-mac.h
|
||||
+++ b/deps/v8/src/snapshot/embedded/platform-embedded-file-writer-mac.h
|
||||
@@ -37,8 +37,6 @@ class PlatformEmbeddedFileWriterMac : pu
|
||||
void DeclareFunctionBegin(const char* name) override;
|
||||
void DeclareFunctionEnd(const char* name) override;
|
||||
|
||||
- int HexLiteral(uint64_t value) override;
|
||||
-
|
||||
void Comment(const char* string) override;
|
||||
|
||||
void FilePrologue() override;
|
@ -1,7 +1,6 @@
|
||||
diff -urN a/configure.py b/configure.py
|
||||
--- a/configure.py 2019-09-05 00:36:21.000000000 +0900
|
||||
+++ b/configure.py 2019-09-27 11:49:55.445800884 +0900
|
||||
@@ -1202,6 +1202,25 @@
|
||||
--- a/configure.py
|
||||
+++ b/configure.py
|
||||
@@ -1288,6 +1288,15 @@ def configure_v8(o):
|
||||
options.build_v8_with_gn = FetchDeps(v8_path)
|
||||
o['variables']['build_v8_with_gn'] = b(options.build_v8_with_gn)
|
||||
|
||||
@ -13,25 +12,15 @@ diff -urN a/configure.py b/configure.py
|
||||
+ target_arch = 'x64'
|
||||
+
|
||||
+ if target_arch in ('mips', 'mips64'):
|
||||
+ o['variables']['v8_use_snapshot'] = 0
|
||||
+ elif target_arch in ('mipsel', 'mips64el'):
|
||||
+ o['variables']['v8_enable_embedded_builtins'] = 0
|
||||
+ elif target_arch == 'x64':
|
||||
+ if options.with_intl in (None, 'none'):
|
||||
+ o['variables']['v8_enable_embedded_builtins'] = 0
|
||||
+ elif target_arch == 'ia32':
|
||||
+ if options.with_intl in (None, 'none'):
|
||||
+ o['variables']['v8_enable_embedded_builtins'] = 1
|
||||
+ else:
|
||||
+ o['variables']['v8_enable_embedded_builtins'] = 0
|
||||
+ o['variables']['v8_use_snapshot'] = 'false'
|
||||
|
||||
def configure_openssl(o):
|
||||
variables = o['variables']
|
||||
@@ -1632,6 +1651,7 @@
|
||||
@@ -1725,6 +1734,7 @@ configure_openssl(output)
|
||||
configure_intl(output)
|
||||
configure_static(output)
|
||||
configure_inspector(output)
|
||||
+configure_v8_deprecated(output)
|
||||
|
||||
# variables should be a root level element,
|
||||
# move everything else to target_defaults
|
||||
# Forward OSS-Fuzz settings
|
||||
output['variables']['ossfuzz'] = b(options.ossfuzz)
|
||||
|
Loading…
Reference in New Issue
Block a user