From ca7c71a52b88ade4f901d4f400f511f669843aad Mon Sep 17 00:00:00 2001
From: Matthias Schiffer <mschiffer@universe-factory.net>
Date: Sun, 29 May 2016 20:19:21 +0200
Subject: [PATCH] node: fix build on Debian Jessie

---
 .../openwrt/0005-node-update-to-v0.12.14.patch        | 11 ++++++++++-
 1 file changed, 10 insertions(+), 1 deletion(-)

diff --git a/patches/packages/openwrt/0005-node-update-to-v0.12.14.patch b/patches/packages/openwrt/0005-node-update-to-v0.12.14.patch
index 9b03cee47..b748b636b 100644
--- a/patches/packages/openwrt/0005-node-update-to-v0.12.14.patch
+++ b/patches/packages/openwrt/0005-node-update-to-v0.12.14.patch
@@ -7,7 +7,7 @@ While we're at it, also enable parallel builds.
 Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
 
 diff --git a/lang/node/Makefile b/lang/node/Makefile
-index 243c8a5..e6fe843 100644
+index 243c8a5..bde7906 100644
 --- a/lang/node/Makefile
 +++ b/lang/node/Makefile
 @@ -8,17 +8,21 @@
@@ -34,3 +34,12 @@ index 243c8a5..e6fe843 100644
  PKG_MAINTAINER:=John Crispin <blogic@openwrt.org>
  PKG_LICENSE:=
  
+@@ -56,6 +60,8 @@ HOST_CONFIGURE_ARGS:= \
+ 
+ HOST_CONFIGURE_CMD:=python ./configure
+ 
++HOST_MAKE_FLAGS += CXXFLAGS='-std=c++11'
++
+ define Build/InstallDev
+ 	$(INSTALL_DIR) $(1)/usr/include
+ 	$(CP) $(PKG_INSTALL_DIR)/usr/include/* $(1)/usr/include/
-- 
GitLab