Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 16 Oct 2016 10:47:42 +0000 (UTC)
From:      Pietro Cerutti <gahr@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r424055 - in head/databases/cassandra-cpp-driver: . files
Message-ID:  <201610161047.u9GAlg3u033628@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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,



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