svn commit: r424055 - in head/databases/cassandra-cpp-driver: . files

Pietro Cerutti gahr at FreeBSD.org
Sun Oct 16 10:47:44 UTC 2016


Author: gahr
Date: Sun Oct 16 10:47:42 2016
New Revision: 424055
URL: https://svnweb.freebsd.org/changeset/ports/424055

Log:
  databases/cassandra-cpp-driver: fix build on power8 (and possibly armv6)
  
  Obtained from:	https://github.com/datastax/cpp-driver/commit/f6c8e8e

Added:
  head/databases/cassandra-cpp-driver/files/
  head/databases/cassandra-cpp-driver/files/patch-src_uuids.cpp   (contents, props changed)
Modified:
  head/databases/cassandra-cpp-driver/Makefile

Modified: head/databases/cassandra-cpp-driver/Makefile
==============================================================================
--- head/databases/cassandra-cpp-driver/Makefile	Sun Oct 16 10:04:11 2016	(r424054)
+++ head/databases/cassandra-cpp-driver/Makefile	Sun Oct 16 10:47:42 2016	(r424055)
@@ -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

Added: head/databases/cassandra-cpp-driver/files/patch-src_uuids.cpp
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/databases/cassandra-cpp-driver/files/patch-src_uuids.cpp	Sun Oct 16 10:47:42 2016	(r424055)
@@ -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,


More information about the svn-ports-head mailing list