Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 27 Apr 2021 06:58:38 GMT
From:      Kirill Ponomarev <krion@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-branches@FreeBSD.org
Subject:   git: f39d8e48af65 - 2021Q2 - databases/clickhouse: Add forgotten patch.
Message-ID:  <202104270658.13R6wc6s026648@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch 2021Q2 has been updated by krion:

URL: https://cgit.FreeBSD.org/ports/commit/?id=f39d8e48af65bc18c14dd9c29c0141ce593bcd97

commit f39d8e48af65bc18c14dd9c29c0141ce593bcd97
Author:     Kirill Ponomarev <krion@FreeBSD.org>
AuthorDate: 2021-04-27 06:51:50 +0000
Commit:     Kirill Ponomarev <krion@FreeBSD.org>
CommitDate: 2021-04-27 06:55:16 +0000

    databases/clickhouse: Add forgotten patch.
    
    Reported by:    maintainer
    
    (cherry picked from commit 2519b10407948f6195c69e2939262d519d074935)
---
 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@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202104270658.13R6wc6s026648>