kumquat-buildroot/package/nodejs/5.6.0/0004-Fix-va_list-not-declared.patch
Martin Bark b88c1d149d package/nodejs: bump version to 5.6.0
This is an important security release. See
https://nodejs.org/en/blog/release/v5.6.0/ for further details

Signed-off-by: Martin Bark <martin@barkynet.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2016-02-16 21:52:01 +01:00

40 lines
1.2 KiB
Diff
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

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