diff options
author | Martin Bark <martin@barkynet.com> | 2016-04-26 11:28:58 +0100 |
---|---|---|
committer | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2016-04-26 21:58:03 +0200 |
commit | fbf9411d0a4a440abd2755b4f61b4e5e9e169cf2 (patch) | |
tree | eab9fbb9ccf80ba6e444b2f78186881a1f0775b0 /package/nodejs/5.11.0/0003-Fix-va_list-not-declared.patch | |
parent | 09f2657562829f3d98afa4f6fd1d79ee6c34fc78 (diff) | |
download | buildroot-fbf9411d0a4a440abd2755b4f61b4e5e9e169cf2.tar.gz buildroot-fbf9411d0a4a440abd2755b4f61b4e5e9e169cf2.zip |
package/nodejs: bump version to 5.11.0
See https://nodejs.org/en/blog/release/v5.11.0/
Signed-off-by: Martin Bark <martin@barkynet.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/nodejs/5.11.0/0003-Fix-va_list-not-declared.patch')
-rw-r--r-- | package/nodejs/5.11.0/0003-Fix-va_list-not-declared.patch | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/package/nodejs/5.11.0/0003-Fix-va_list-not-declared.patch b/package/nodejs/5.11.0/0003-Fix-va_list-not-declared.patch new file mode 100644 index 0000000000..aec8e125a6 --- /dev/null +++ b/package/nodejs/5.11.0/0003-Fix-va_list-not-declared.patch @@ -0,0 +1,39 @@ +From 5b3dd2599ebde1846750aaf7c79576ad45246ffa Mon Sep 17 00:00:00 2001 +From: Martin Bark <martin@barkynet.com> +Date: Tue, 8 Dec 2015 11:41:08 +0000 +Subject: [PATCH] Fix va_list not declared +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +When compiling with uClibc-ng the following error is seen. + +In file included from ../deps/v8/src/log-utils.cc:5:0: +../deps/v8/src/log-utils.h:64:39: error: ‘va_list’ has not been declared + void AppendVA(const char* format, va_list args); + +This patch fixes the issue by adding the missing #include <cstdarg>. Note +that this fix has already be included upstream, see +https://github.com/nodejs/node/blob/8a43a3d/deps/v8/src/log-utils.h + +Signed-off-by: Martin Bark <martin@barkynet.com> +--- + deps/v8/src/log-utils.h | 2 ++ + 1 file changed, 2 insertions(+) + +diff --git a/deps/v8/src/log-utils.h b/deps/v8/src/log-utils.h +index 87dab52..6714307 100644 +--- a/deps/v8/src/log-utils.h ++++ b/deps/v8/src/log-utils.h +@@ -5,6 +5,8 @@ + #ifndef V8_LOG_UTILS_H_ + #define V8_LOG_UTILS_H_ + ++#include <cstdarg> ++ + #include "src/allocation.h" + #include "src/base/platform/mutex.h" + #include "src/flags.h" +-- +2.5.0 + |