summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--net-libs/nodejs/files/nodejs-11.4.0-stdarg_h.patch10
-rw-r--r--net-libs/nodejs/nodejs-11.4.0.ebuild1
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 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() {