aboutsummaryrefslogtreecommitdiff
path: root/package/wampcc/0003-Broken-build-on-Windows.patch
diff options
context:
space:
mode:
authorGravatar Fabrice Fontaine <fontaine.fabrice@gmail.com>2020-09-19 18:33:07 +0200
committerGravatar Thomas Petazzoni <thomas.petazzoni@bootlin.com>2020-09-19 21:55:04 +0200
commitcd9d7c55e2998116afc3da6fc87bf423e43bd93c (patch)
treeaad7f8712b78c811c18b09f2e2c7234f226f97b3 /package/wampcc/0003-Broken-build-on-Windows.patch
parenta925b4ee14741d102f9dc9ab9ae9093a3fc55337 (diff)
downloadbuildroot-cd9d7c55e2998116afc3da6fc87bf423e43bd93c.tar.gz
buildroot-cd9d7c55e2998116afc3da6fc87bf423e43bd93c.tar.bz2
package/wampcc: fix build with gcc 10
Fixes: - http://autobuild.buildroot.org/results/5668ee2a81daba689cc16c520681cfd16a79dbd7 Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Diffstat (limited to 'package/wampcc/0003-Broken-build-on-Windows.patch')
-rw-r--r--package/wampcc/0003-Broken-build-on-Windows.patch27
1 files changed, 27 insertions, 0 deletions
diff --git a/package/wampcc/0003-Broken-build-on-Windows.patch b/package/wampcc/0003-Broken-build-on-Windows.patch
new file mode 100644
index 0000000000..3c528cd888
--- /dev/null
+++ b/package/wampcc/0003-Broken-build-on-Windows.patch
@@ -0,0 +1,27 @@
+From eaa70a289288db1e8d90a2a9bcde435a8975fe74 Mon Sep 17 00:00:00 2001
+From: Sergey Lukashevich <sergey.lukashevi4@gmail.com>
+Date: Fri, 26 Jul 2019 21:58:34 +0300
+Subject: [PATCH] Broken build on Windows: "http_parser.h(66,18): error C2039:
+ 'runtime_error': is not a member of 'std'"
+
+Add missing <stdexcept> include.
+
+[Retrieved from:
+https://github.com/darrenjs/wampcc/commit/eaa70a289288db1e8d90a2a9bcde435a8975fe74]
+Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
+---
+ include/wampcc/http_parser.h | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/include/wampcc/http_parser.h b/include/wampcc/http_parser.h
+index a9405dd..4c20417 100644
+--- a/include/wampcc/http_parser.h
++++ b/include/wampcc/http_parser.h
+@@ -11,6 +11,7 @@
+ #include <map>
+ #include <string>
+ #include <memory>
++#include <stdexcept>
+
+ // types brought in from nodejs http-parser project
+ struct http_parser;