aboutsummaryrefslogtreecommitdiff
path: root/databases/clickhouse/files
diff options
context:
space:
mode:
authorKirill Ponomarev <krion@FreeBSD.org>2021-04-27 06:51:50 +0000
committerKirill Ponomarev <krion@FreeBSD.org>2021-04-27 06:51:50 +0000
commit2519b10407948f6195c69e2939262d519d074935 (patch)
tree3fc57f87d22c372a07c22c80840c36f124d8ca6d /databases/clickhouse/files
parent3691e1aae77dc8d6b3c65fa597ffc833cd5e2973 (diff)
downloadports-2519b10407948f6195c69e2939262d519d074935.tar.gz
ports-2519b10407948f6195c69e2939262d519d074935.zip
databases/clickhouse: Add forgotten patch.
Reported by: maintainer
Diffstat (limited to 'databases/clickhouse/files')
-rw-r--r--databases/clickhouse/files/patch-contrib_cassandra_CMakeLists.txt12
1 files changed, 12 insertions, 0 deletions
diff --git a/databases/clickhouse/files/patch-contrib_cassandra_CMakeLists.txt b/databases/clickhouse/files/patch-contrib_cassandra_CMakeLists.txt
new file mode 100644
index 000000000000..733dc7778753
--- /dev/null
+++ b/databases/clickhouse/files/patch-contrib_cassandra_CMakeLists.txt
@@ -0,0 +1,12 @@
+--- contrib/cassandra/CMakeLists.txt.orig 2021-01-25 21:26:46 UTC
++++ contrib/cassandra/CMakeLists.txt
+@@ -165,7 +165,8 @@ if("${CMAKE_CXX_COMPILER_ID}" STREQUAL "Clang" OR
+ "${CMAKE_CXX_COMPILER_ID}" STREQUAL "GNU")
+ # Enable C++11 support to use std::atomic
+ if(CASS_USE_STD_ATOMIC)
+- set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11")
++ set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++17")
++ set(CMAKE_CXX_STANDARD "17")
+ endif()
+
+ # OpenSSL is deprecated on later versions of Mac OS X. The long-term solution