From: Jeroen Roovers Date: Thu, 13 Dec 2018 12:49:53 +0000 (+0100) Subject: net-libs/nodejs: Fix llhttp/http_parser in live ebuild X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=7f275c73799d53dbf45cdded0c5e6d52839c5e2c;p=gentoo.git 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 --- 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() {