commit: ed00b6407d1bae9b69d130a5f42ffc6c7a9f4361 Author: Jeroen Roovers <jer <AT> gentoo <DOT> org> AuthorDate: Thu Dec 13 12:11:59 2018 +0000 Commit: Jeroen Roovers <jer <AT> gentoo <DOT> org> CommitDate: Thu Dec 13 12:12:19 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ed00b640
net-libs/nodejs: Include stdarg.h Bug: https://bugs.gentoo.org/673068 Package-Manager: Portage-2.3.52, Repoman-2.3.12 Signed-off-by: Jeroen Roovers <jer <AT> gentoo.org> net-libs/nodejs/files/nodejs-11.4.0-stdarg_h.patch | 10 ++++++++++ net-libs/nodejs/nodejs-11.4.0.ebuild | 1 + 2 files changed, 11 insertions(+) diff --git a/net-libs/nodejs/files/nodejs-11.4.0-stdarg_h.patch b/net-libs/nodejs/files/nodejs-11.4.0-stdarg_h.patch new file mode 100644 index 00000000000..951c35989c6 --- /dev/null +++ b/net-libs/nodejs/files/nodejs-11.4.0-stdarg_h.patch @@ -0,0 +1,10 @@ +--- a/src/node.cc ++++ b/src/node.cc +@@ -75,6 +75,7 @@ + #include <fcntl.h> // _O_RDWR + #include <limits.h> // PATH_MAX + #include <signal.h> ++#include <stdarg.h> // va_start/va_end + #include <stdio.h> + #include <stdlib.h> + #include <string.h> diff --git a/net-libs/nodejs/nodejs-11.4.0.ebuild b/net-libs/nodejs/nodejs-11.4.0.ebuild index ede61e4e147..0e67f6a9bcd 100644 --- a/net-libs/nodejs/nodejs-11.4.0.ebuild +++ b/net-libs/nodejs/nodejs-11.4.0.ebuild @@ -41,6 +41,7 @@ S="${WORKDIR}/node-v${PV}" PATCHES=( "${FILESDIR}"/${PN}-10.3.0-global-npm-config.patch "${FILESDIR}"/${PN}-11.4.0-llhttp.patch + "${FILESDIR}"/${PN}-11.4.0-stdarg_h.patch ) pkg_pretend() {
