kumquat-buildroot/package/nodejs/5.6.0/0003-Fix-va_list-not-declared.patch
Martin Bark 12010acc62 package/nodejs: force the use of python2
Remove the patches to use a python variable and instead force python2
into the PATH.

Upstream the python variable was recently removed
(see https://github.com/nodejs/node/commit/c3e50ca) and due to dependencies
directly calling python there is a reluctance to change this.  Instead it
is recommended to add python2 into PATH as the nodejs build machines do
(see https://github.com/nodejs/node/issues/418 and
https://github.com/nodejs/node/issues/2735).

Signed-off-by: Martin Bark <martin@barkynet.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2016-03-06 15:13:33 +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