summaryrefslogtreecommitdiff
path: root/net-libs/nodejs/files
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-11-02 21:07:25 +0000
committerV3n3RiX <venerix@redcorelinux.org>2017-11-02 21:07:25 +0000
commit27dfd272ae3be15b1017f733682211afa1c7c0f0 (patch)
tree1fe1c9ed5c5d79c63069bb8d541be075ccc3aac2 /net-libs/nodejs/files
parentd950fa39dbe16d164ed0cb8e3036fd5d0d896a4c (diff)
gentoo resync : 02.11.2017
Diffstat (limited to 'net-libs/nodejs/files')
-rw-r--r--net-libs/nodejs/files/nodejs-8.9.0-shared-nghttp2.patch (renamed from net-libs/nodejs/files/nodejs-8.4.0-shared-nghttp2.patch)46
1 files changed, 23 insertions, 23 deletions
diff --git a/net-libs/nodejs/files/nodejs-8.4.0-shared-nghttp2.patch b/net-libs/nodejs/files/nodejs-8.9.0-shared-nghttp2.patch
index 1f1a2e6ea636..dfccb1b0aea2 100644
--- a/net-libs/nodejs/files/nodejs-8.4.0-shared-nghttp2.patch
+++ b/net-libs/nodejs/files/nodejs-8.9.0-shared-nghttp2.patch
@@ -28,7 +28,7 @@
shared_optgroup.add_option('--shared-libuv',
action='store_true',
dest='shared_libuv',
-@@ -1381,6 +1381,7 @@
+@@ -1360,6 +1381,7 @@
configure_node(output)
configure_library('zlib', output)
configure_library('http_parser', output)
@@ -46,48 +46,35 @@
'node_shared_cares%': 'false',
'node_shared_libuv%': 'false',
'node_use_openssl%': 'true',
-@@ -149,10 +150,17 @@
+@@ -151,8 +152,15 @@
'type': '<(node_target_type)',
-
+
'dependencies': [
- 'node_js2c#host',
- 'deps/nghttp2/nghttp2.gyp:nghttp2'
+ 'node_js2c#host'
- ],
-
++ ],
++
+ 'conditions': [
+ [ 'node_shared_nghttp2=="false"', {
+ 'dependencies': [
+ 'deps/nghttp2/nghttp2.gyp:nghttp2'
+ ]
+ }]
-+ ],
-+
- 'includes': [
- 'node.gypi'
],
-@@ -161,8 +161,7 @@
+
+ 'includes': [
+@@ -180,8 +180,7 @@
+ 'include_dirs': [
'src',
'tools/msvs/genfiles',
- 'deps/uv/src/ares',
- '<(SHARED_INTERMEDIATE_DIR)', # for node_natives.h
- 'deps/nghttp2/lib/includes'
+ '<(SHARED_INTERMEDIATE_DIR)' # for node_natives.h
],
'sources': [
-@@ -275,9 +274,7 @@
- 'NODE_PLATFORM="<(OS)"',
- 'NODE_WANT_INTERNALS=1',
- # Warn when using deprecated V8 APIs.
-- 'V8_DEPRECATION_WARNINGS=1',
-- # We're using the nghttp2 static lib
-- 'NGHTTP2_STATICLIB'
-+ 'V8_DEPRECATION_WARNINGS=1'
- ],
- },
- {
-@@ -687,6 +684,15 @@
+@@ -691,6 +696,15 @@
'deps/http_parser/http_parser.gyp:http_parser'
]
}],
@@ -103,3 +90,16 @@
[ 'node_shared_libuv=="false"', {
'dependencies': [
'deps/uv/uv.gyp:libuv'
+--- a/node.gypi
++++ b/node.gypi
+@@ -251,6 +251,10 @@
+ 'dependencies': [ 'deps/http_parser/http_parser.gyp:http_parser' ],
+ }],
+
++ [ 'node_shared_nghttp2=="false"', {
++ 'dependencies': [ 'deps/nghttp2/nghttp2.gyp:nghttp2' ],
++ }],
++
+ [ 'node_shared_cares=="false"', {
+ 'dependencies': [ 'deps/cares/cares.gyp:cares' ],
+ }],