summaryrefslogtreecommitdiffstats
path: root/e05a2b595d32d2b9a210a6f6afbed490f2d23148.patch
diff options
context:
space:
mode:
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()