databases/cassandra-cpp-driver: update to 2.10.0, unbreak on GCC platforms [1]

PR:		232847 [1]
Submitted by:	Piotr Kubaj <pkubaj@anongoth.pl>
This commit is contained in:
Pietro Cerutti 2018-11-05 09:08:55 +00:00
parent 71b4d5a506
commit 90de22adf1
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=484180
3 changed files with 7 additions and 22 deletions

View file

@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= cassandra-cpp-driver
PORTVERSION= 2.9.0
PORTVERSION= 2.10.0
CATEGORIES= databases
MAINTAINER= gahr@FreeBSD.org
@ -12,17 +12,13 @@ LICENSE= APACHE20
LIB_DEPENDS= libuv.so:devel/libuv
BROKEN_powerpc64= fails to compile: reader.h: warning: comparison is always true due to limited range of data type
USES= cmake:outsource compiler:c++11-lang pkgconfig pathfix ssl
USE_LDCONFIG= yes
USE_GITHUB= yes
GH_ACCOUNT= datastax
GH_PROJECT= cpp-driver
USES= cmake:outsource pkgconfig pathfix ssl
CMAKE_ARGS= -DCMAKE_INSTALL_LIBDIR:STRING=lib \
-DCASS_BUILD_STATIC:BOOL=ON
USE_LDCONFIG= yes
CMAKE_ARGS= -DCMAKE_INSTALL_LIBDIR:STRING=lib -DCASS_BUILD_STATIC:BOOL=ON
PLIST_FILES= include/cassandra.h \
lib/libcassandra.so \

View file

@ -1,3 +1,3 @@
TIMESTAMP = 1523520254
SHA256 (datastax-cpp-driver-2.9.0_GH0.tar.gz) = 9c61e58092b0ffc1b2bf783e66481565bd7c49424e94bd8d4a2a8936488dff25
SIZE (datastax-cpp-driver-2.9.0_GH0.tar.gz) = 9178588
TIMESTAMP = 1541004927
SHA256 (datastax-cpp-driver-2.10.0_GH0.tar.gz) = 3ac2d0f03eeb22b893a9f6b5b124276936e19b194f8065d3683e0aa8bb4aecb4
SIZE (datastax-cpp-driver-2.10.0_GH0.tar.gz) = 9366791

View file

@ -1,11 +0,0 @@
--- cmake/modules/CppDriver.cmake.orig 2018-06-23 19:55:39 UTC
+++ cmake/modules/CppDriver.cmake
@@ -372,6 +372,8 @@ macro(CassUseLibuv)
if (EXISTS "${LIBUV_INCLUDE_DIR}/uv-version.h")
set(LIBUV_VERSION_HEADER_FILE "${LIBUV_INCLUDE_DIR}/uv-version.h")
+ elseif (EXISTS "${LIBUV_INCLUDE_DIR}/uv/version.h")
+ set(LIBUV_VERSION_HEADER_FILE "${LIBUV_INCLUDE_DIR}/uv/version.h")
else()
set(LIBUV_VERSION_HEADER_FILE "${LIBUV_INCLUDE_DIR}/uv.h")
endif()