enabled nodejs
This commit is contained in:
parent
1439bf0742
commit
5e006c03ae
|
|
@ -0,0 +1,13 @@
|
|||
diff --git a/deps/v8/src/base/strings.h b/deps/v8/src/base/strings.h
|
||||
index c3015e7..95018ae 100644
|
||||
--- a/deps/v8/src/base/strings.h
|
||||
+++ b/deps/v8/src/base/strings.h
|
||||
@@ -5,6 +5,8 @@
|
||||
#ifndef V8_BASE_STRINGS_H_
|
||||
#define V8_BASE_STRINGS_H_
|
||||
|
||||
+#include <cstdarg>
|
||||
+
|
||||
#include "src/base/base-export.h"
|
||||
#include "src/base/macros.h"
|
||||
#include "src/base/vector.h"
|
||||
|
|
@ -0,0 +1,24 @@
|
|||
diff --git a/src/node_credentials.cc b/src/node_credentials.cc
|
||||
index 97cb574..7c1aa93 100644
|
||||
--- a/src/node_credentials.cc
|
||||
+++ b/src/node_credentials.cc
|
||||
@@ -15,7 +15,7 @@
|
||||
#ifdef __linux__
|
||||
#include <dlfcn.h> // dlsym()
|
||||
#include <linux/capability.h>
|
||||
-#include <sys/auxv.h>
|
||||
+// #include <sys/auxv.h>
|
||||
#include <sys/syscall.h>
|
||||
#endif // __linux__
|
||||
|
||||
@@ -40,8 +40,8 @@ bool linux_at_secure() {
|
||||
// and returns the correct value, e.g. even in static
|
||||
// initialization code in other files.
|
||||
#ifdef __linux__
|
||||
- static const bool value = getauxval(AT_SECURE);
|
||||
- return value;
|
||||
+ // static const bool value = getauxval(AT_SECURE);
|
||||
+ // return value;
|
||||
#else
|
||||
return false;
|
||||
#endif
|
||||
13
buildroot_patches/python3/0001-incorrect-bz2-import.patch
Normal file
13
buildroot_patches/python3/0001-incorrect-bz2-import.patch
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
diff --git a/Lib/bz2.py b/Lib/bz2.py
|
||||
index fabe4f7..0bada0c 100644
|
||||
--- a/Lib/bz2.py
|
||||
+++ b/Lib/bz2.py
|
||||
@@ -14,7 +14,7 @@ import io
|
||||
import os
|
||||
import _compression
|
||||
|
||||
-from _bz2 import BZ2Compressor, BZ2Decompressor
|
||||
+# from _bz2 import BZ2Compressor, BZ2Decompressor
|
||||
|
||||
|
||||
_MODE_CLOSED = 0
|
||||
|
|
@ -4,13 +4,14 @@ BR2_TOOLCHAIN_EXTERNAL=y
|
|||
BR2_TOOLCHAIN_EXTERNAL_CUSTOM=y
|
||||
BR2_TOOLCHAIN_EXTERNAL_PATH="../../../../tools/linux/toolchain/arm-rockchip830-linux-uclibcgnueabihf"
|
||||
BR2_TOOLCHAIN_EXTERNAL_CUSTOM_PREFIX="arm-rockchip830-linux-uclibcgnueabihf"
|
||||
BR2_TOOLCHAIN_EXTERNAL_GCC_8=y
|
||||
BR2_TOOLCHAIN_EXTERNAL_GCC_10=y
|
||||
BR2_TOOLCHAIN_EXTERNAL_HEADERS_5_10=y
|
||||
BR2_TOOLCHAIN_EXTERNAL_WCHAR=y
|
||||
BR2_TOOLCHAIN_EXTERNAL_HAS_SSP=y
|
||||
BR2_TOOLCHAIN_EXTERNAL_CXX=y
|
||||
BR2_PRIMARY_SITE="http://sources.buildroot.net"
|
||||
BR2_OPTIMIZE_3=y
|
||||
BR2_GLOBAL_PATCH_DIR="../../../../buildroot_patches"
|
||||
BR2_TARGET_GENERIC_HOSTNAME="luckfox pico"
|
||||
BR2_TARGET_GENERIC_ISSUE="Welcome to luckfox pico"
|
||||
BR2_TARGET_GENERIC_ROOT_PASSWD="luckfox"
|
||||
|
|
@ -21,6 +22,7 @@ BR2_PACKAGE_GIT=y
|
|||
BR2_PACKAGE_E2FSPROGS=y
|
||||
BR2_PACKAGE_E2FSPROGS_RESIZE2FS=y
|
||||
BR2_PACKAGE_EVTEST=y
|
||||
BR2_PACKAGE_NODEJS=y
|
||||
BR2_PACKAGE_PYTHON3=y
|
||||
BR2_PACKAGE_PYTHON3_SSL=y
|
||||
BR2_PACKAGE_PYTHON_AIOHTTP=y
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user