git: 2519b1040794 - main - databases/clickhouse: Add forgotten patch.
Kirill Ponomarev
krion at FreeBSD.org
Tue Apr 27 06:52:32 UTC 2021
The branch main has been updated by krion:
URL: https://cgit.FreeBSD.org/ports/commit/?id=2519b10407948f6195c69e2939262d519d074935
commit 2519b10407948f6195c69e2939262d519d074935
Author: Kirill Ponomarev <krion at FreeBSD.org>
AuthorDate: 2021-04-27 06:51:50 +0000
Commit: Kirill Ponomarev <krion at FreeBSD.org>
CommitDate: 2021-04-27 06:51:50 +0000
databases/clickhouse: Add forgotten patch.
Reported by: maintainer
---
databases/clickhouse/Makefile | 1 +
.../clickhouse/files/patch-contrib_cassandra_CMakeLists.txt | 12 ++++++++++++
2 files changed, 13 insertions(+)
diff --git a/databases/clickhouse/Makefile b/databases/clickhouse/Makefile
index 0eff7beee3bf..6dafe790fabc 100644
--- a/databases/clickhouse/Makefile
+++ b/databases/clickhouse/Makefile
@@ -4,6 +4,7 @@ PORTNAME= clickhouse
PORTVERSION= 21.3.6.55
DISTVERSIONPREFIX= v
DISTVERSIONSUFFIX= -lts
+PORTREVISION= 1
CATEGORIES= databases
MAINTAINER= olevole at olevole.ru
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
More information about the dev-commits-ports-all
mailing list