summaryrefslogtreecommitdiff
path: root/databases/cassandra-cpp-driver
diff options
context:
space:
mode:
authorPietro Cerutti <gahr@FreeBSD.org>2016-10-16 10:47:42 +0000
committerPietro Cerutti <gahr@FreeBSD.org>2016-10-16 10:47:42 +0000
commita71521b5ba9d94c7d2d709d89093e967beeb117e (patch)
treefffb03b06a9eed08e711e559851ab66510cd0105 /databases/cassandra-cpp-driver
parentUpdate to 2.2.2. (diff)
databases/cassandra-cpp-driver: fix build on power8 (and possibly armv6)
Obtained from: https://github.com/datastax/cpp-driver/commit/f6c8e8e
Notes
Notes: svn path=/head/; revision=424055
Diffstat (limited to 'databases/cassandra-cpp-driver')
-rw-r--r--databases/cassandra-cpp-driver/Makefile2
-rw-r--r--databases/cassandra-cpp-driver/files/patch-src_uuids.cpp11
2 files changed, 11 insertions, 2 deletions
diff --git a/databases/cassandra-cpp-driver/Makefile b/databases/cassandra-cpp-driver/Makefile
index 533a7a1d91ba..d0f19994fb7c 100644
--- a/databases/cassandra-cpp-driver/Makefile
+++ b/databases/cassandra-cpp-driver/Makefile
@@ -12,8 +12,6 @@ LICENSE= APACHE20
LIB_DEPENDS= libuv.so:devel/libuv
-BROKEN_powerpc64= Does not build
-
USE_GITHUB= nodefault
GH_ACCOUNT= datastax
GH_PROJECT= cpp-driver
diff --git a/databases/cassandra-cpp-driver/files/patch-src_uuids.cpp b/databases/cassandra-cpp-driver/files/patch-src_uuids.cpp
new file mode 100644
index 000000000000..94321860470c
--- /dev/null
+++ b/databases/cassandra-cpp-driver/files/patch-src_uuids.cpp
@@ -0,0 +1,11 @@
+--- src/uuids.cpp.orig 2016-08-22 18:07:08 UTC
++++ src/uuids.cpp
+@@ -121,7 +121,7 @@ CassError cass_uuid_from_string_n(const
+ const char* pos = str;
+ char buf[16];
+
+- static const char hex_to_half_byte[256] = {
++ static const signed char hex_to_half_byte[256] = {
+ -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
+ -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
+ -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,