diff options
author | 2018-12-13 13:49:53 +0100 | |
---|---|---|
committer | 2018-12-13 13:50:16 +0100 | |
commit | 7f275c73799d53dbf45cdded0c5e6d52839c5e2c (patch) | |
tree | 117730466628c291dc57d6c2cfbb9ebf087873c7 /net-libs | |
parent | sys-fs/udev: x86 stable (bug #673006) (diff) | |
download | gentoo-7f275c73799d53dbf45cdded0c5e6d52839c5e2c.tar.gz gentoo-7f275c73799d53dbf45cdded0c5e6d52839c5e2c.tar.bz2 gentoo-7f275c73799d53dbf45cdded0c5e6d52839c5e2c.zip |
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@gentoo.org>
Diffstat (limited to 'net-libs')
-rw-r--r-- | net-libs/nodejs/files/nodejs-99999999-llhttp.patch | 20 | ||||
-rw-r--r-- | net-libs/nodejs/nodejs-99999999.ebuild | 1 |
2 files changed, 21 insertions, 0 deletions
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 000000000000..1b6eb9fb7fa1 --- /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 f6a2fedbb6b8..e5f27818359a 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() { |