summaryrefslogtreecommitdiffstats
path: root/package/nodejs/5.5.0/0004-Fix-va_list-not-declared.patch
diff options
context:
space:
mode:
authorMartin Bark <martin@barkynet.com>2016-01-30 14:50:59 +0000
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2016-02-07 23:34:29 +0100
commit976380ce27f682f735ae3d3dc78e3a8d58e81a28 (patch)
treed1a1085236e962604f104e4667c9f6021da55279 /package/nodejs/5.5.0/0004-Fix-va_list-not-declared.patch
parent33d5f4f9f337d545160a634a41378ed6bbeb92e1 (diff)
downloadbuildroot-976380ce27f682f735ae3d3dc78e3a8d58e81a28.tar.gz
buildroot-976380ce27f682f735ae3d3dc78e3a8d58e81a28.zip
package/nodejs: bump to version 5.5.0
Patches from 5.3.0 have been copied over with the following exceptions: - Removed 0005-Fix-crash-in-GetInterfaceAddresses.patch as this has been applied upstream - Renamed 0006-Fix-support-for-uClibc-ng.patch to 0005-Fix-support-for-uClibc-ng.patch Signed-off-by: Martin Bark <martin@barkynet.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/nodejs/5.5.0/0004-Fix-va_list-not-declared.patch')
-rw-r--r--package/nodejs/5.5.0/0004-Fix-va_list-not-declared.patch39
1 files changed, 39 insertions, 0 deletions
diff --git a/package/nodejs/5.5.0/0004-Fix-va_list-not-declared.patch b/package/nodejs/5.5.0/0004-Fix-va_list-not-declared.patch
new file mode 100644
index 0000000000..aec8e125a6
--- /dev/null
+++ b/package/nodejs/5.5.0/0004-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
+
OpenPOWER on IntegriCloud