diff options
author | Jeroen Roovers <jer@gentoo.org> | 2018-12-13 13:11:59 +0100 |
---|---|---|
committer | Jeroen Roovers <jer@gentoo.org> | 2018-12-13 13:12:19 +0100 |
commit | ed00b6407d1bae9b69d130a5f42ffc6c7a9f4361 (patch) | |
tree | c6dbb6886fb15f74276ad75a68b8d92177d429a9 /net-libs/nodejs | |
parent | dev-db/mysql-workbench: fix build with libiodbc (diff) | |
download | gentoo-ed00b6407d1bae9b69d130a5f42ffc6c7a9f4361.tar.gz gentoo-ed00b6407d1bae9b69d130a5f42ffc6c7a9f4361.tar.bz2 gentoo-ed00b6407d1bae9b69d130a5f42ffc6c7a9f4361.zip |
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@gentoo.org>
Diffstat (limited to 'net-libs/nodejs')
-rw-r--r-- | net-libs/nodejs/files/nodejs-11.4.0-stdarg_h.patch | 10 | ||||
-rw-r--r-- | net-libs/nodejs/nodejs-11.4.0.ebuild | 1 |
2 files changed, 11 insertions, 0 deletions
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 000000000000..951c35989c69 --- /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 ede61e4e147b..0e67f6a9bcd3 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() { |