summaryrefslogtreecommitdiffstats
path: root/e05a2b595d32d2b9a210a6f6afbed490f2d23148.patch
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2020-08-19 15:34:36 +0200
committerRemi Collet <remi@remirepo.net>2020-08-19 15:34:36 +0200
commit82bd378b68cd35d6bd5f3c31f762bfdb864e118b (patch)
tree4e6e3deca0b0632910b9b02d08c5cfc84434110f /e05a2b595d32d2b9a210a6f6afbed490f2d23148.patch
parentbcb6c0a5a308b0da629c2f24d3439e20a20d44b4 (diff)
add upstream patch for GCC 10
Diffstat (limited to 'e05a2b595d32d2b9a210a6f6afbed490f2d23148.patch')
-rw-r--r--e05a2b595d32d2b9a210a6f6afbed490f2d23148.patch35
1 files changed, 35 insertions, 0 deletions
diff --git a/e05a2b595d32d2b9a210a6f6afbed490f2d23148.patch b/e05a2b595d32d2b9a210a6f6afbed490f2d23148.patch
new file mode 100644
index 0000000..5bac0f3
--- /dev/null
+++ b/e05a2b595d32d2b9a210a6f6afbed490f2d23148.patch
@@ -0,0 +1,35 @@
+From e05a2b595d32d2b9a210a6f6afbed490f2d23148 Mon Sep 17 00:00:00 2001
+From: Roger <whj199649@gmail.com>
+Date: Tue, 14 Apr 2020 21:19:06 +0800
+Subject: [PATCH] Fixed #5 Broken build with GCC 10
+
+error: 'runtime_error' is not a member of 'std'
+---
+ lib/clickhouse-cpp/clickhouse/columns/nullable.cpp | 1 +
+ lib/clickhouse-cpp/clickhouse/columns/uuid.cpp | 2 ++
+ 2 files changed, 3 insertions(+)
+
+diff --git a/lib/clickhouse-cpp/clickhouse/columns/nullable.cpp b/lib/clickhouse-cpp/clickhouse/columns/nullable.cpp
+index 5f058d4..f6e1792 100644
+--- a/lib/clickhouse-cpp/clickhouse/columns/nullable.cpp
++++ b/lib/clickhouse-cpp/clickhouse/columns/nullable.cpp
+@@ -1,5 +1,6 @@
+ #include "nullable.h"
+
++#include <stdexcept>
+ #include <assert.h>
+
+ namespace clickhouse {
+diff --git a/lib/clickhouse-cpp/clickhouse/columns/uuid.cpp b/lib/clickhouse-cpp/clickhouse/columns/uuid.cpp
+index b47592a..9ac538a 100644
+--- a/lib/clickhouse-cpp/clickhouse/columns/uuid.cpp
++++ b/lib/clickhouse-cpp/clickhouse/columns/uuid.cpp
+@@ -1,6 +1,8 @@
+ #include "uuid.h"
+ #include "utils.h"
+
++#include <stdexcept>
++
+ namespace clickhouse {
+
+ ColumnUUID::ColumnUUID()