commit: 7f275c73799d53dbf45cdded0c5e6d52839c5e2c
Author: Jeroen Roovers <jer <AT> gentoo <DOT> org>
AuthorDate: Thu Dec 13 12:49:53 2018 +0000
Commit: Jeroen Roovers <jer <AT> gentoo <DOT> org>
CommitDate: Thu Dec 13 12:50:16 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7f275c73
net-libs/nodejs: Fix llhttp/http_parser in live ebuild
Package-Manager: Portage-2.3.52, Repoman-2.3.12
Signed-off-by: Jeroen Roovers <jer <AT> gentoo.org>
net-libs/nodejs/files/nodejs-99999999-llhttp.patch | 20 ++++++++++++++++++++
net-libs/nodejs/nodejs-99999999.ebuild | 1 +
2 files changed, 21 insertions(+)
diff --git a/net-libs/nodejs/files/nodejs-99999999-llhttp.patch
b/net-libs/nodejs/files/nodejs-99999999-llhttp.patch
new file mode 100644
index 00000000000..1b6eb9fb7fa
--- /dev/null
+++ b/net-libs/nodejs/files/nodejs-99999999-llhttp.patch
@@ -0,0 +1,20 @@
+--- a/node.gypi
++++ b/node.gypi
+@@ -169,11 +169,15 @@
+
+ [ 'node_shared_http_parser=="false"', {
+ 'dependencies': [
+- 'deps/http_parser/http_parser.gyp:http_parser',
+- 'deps/llhttp/llhttp.gyp:llhttp'
++ 'deps/http_parser/http_parser.gyp:http_parser'
+ ],
+ } ],
+
++ [ '"true"', { 'dependencies': [
++ 'deps/llhttp/llhttp.gyp:llhttp'
++ ],
++ }],
++
+ [ 'node_shared_cares=="false"', {
+ 'dependencies': [ 'deps/cares/cares.gyp:cares' ],
+ }],
diff --git a/net-libs/nodejs/nodejs-99999999.ebuild
b/net-libs/nodejs/nodejs-99999999.ebuild
index f6a2fedbb6b..e5f27818359 100644
--- a/net-libs/nodejs/nodejs-99999999.ebuild
+++ b/net-libs/nodejs/nodejs-99999999.ebuild
@@ -39,6 +39,7 @@ DEPEND="
"
PATCHES=(
"${FILESDIR}"/${PN}-10.3.0-global-npm-config.patch
+ "${FILESDIR}"/${PN}-99999999-llhttp.patch
)
pkg_pretend() {