summaryrefslogtreecommitdiff
path: root/node/patches
diff options
context:
space:
mode:
authorKarel Kočí <cynerd@email.cz>2018-09-09 15:01:26 +0200
committerKarel Kočí <cynerd@email.cz>2018-09-09 15:01:26 +0200
commit1b9a2d1d1a02759ebfc41fba2cc656dfe1071767 (patch)
tree37add7db566bd601ea8d68b85e5eaca2ce8dd312 /node/patches
parent28093a126b913ea9629ac0a341c71be7c5e06763 (diff)
downloadopenwrt-personal-pkgs-1b9a2d1d1a02759ebfc41fba2cc656dfe1071767.tar.gz
openwrt-personal-pkgs-1b9a2d1d1a02759ebfc41fba2cc656dfe1071767.tar.bz2
openwrt-personal-pkgs-1b9a2d1d1a02759ebfc41fba2cc656dfe1071767.zip
Drop node
I am not planning to using it anyway
Diffstat (limited to 'node/patches')
-rw-r--r--node/patches/001-hardfloat.patch12
-rw-r--r--node/patches/002-addr_info.patch10
-rw-r--r--node/patches/003-path.patch12
3 files changed, 0 insertions, 34 deletions
diff --git a/node/patches/001-hardfloat.patch b/node/patches/001-hardfloat.patch
deleted file mode 100644
index 1bb2493..0000000
--- a/node/patches/001-hardfloat.patch
+++ /dev/null
@@ -1,12 +0,0 @@
-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) {
- ".set push\n\t"
- ".set noreorder\n\t"
- ".set oddspreg\n\t"
-+ ".set hardfloat\n\t"
- "lui $t0, 0x3FF0\n\t"
- "ldc1 $f0, %0\n\t"
- "mtc1 $t0, $f1\n\t"
diff --git a/node/patches/002-addr_info.patch b/node/patches/002-addr_info.patch
deleted file mode 100644
index 0aa02da..0000000
--- a/node/patches/002-addr_info.patch
+++ /dev/null
@@ -1,10 +0,0 @@
---- a/deps/uv/src/unix/getaddrinfo.c
-+++ b/deps/uv/src/unix/getaddrinfo.c
-@@ -99,6 +99,7 @@ static void uv__getaddrinfo_work(struct
- 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);
- }
diff --git a/node/patches/003-path.patch b/node/patches/003-path.patch
deleted file mode 100644
index 01a71c6..0000000
--- a/node/patches/003-path.patch
+++ /dev/null
@@ -1,12 +0,0 @@
---- a/lib/module.js
-+++ b/lib/module.js
-@@ -453,7 +453,8 @@ Module._initPaths = function() {
- homeDir = process.env.HOME;
- }
-
-- var paths = [path.resolve(process.execPath, '..', '..', 'lib', 'node')];
-+ var paths = [path.resolve(process.execPath, '..', '..', 'lib', 'node'),
-+ path.resolve(process.execPath, '..', '..', 'lib', 'node_modules')];
-
- if (homeDir) {
- paths.unshift(path.resolve(homeDir, '.node_libraries'));