diff options
author | Pietro Cerutti <gahr@FreeBSD.org> | 2016-10-16 10:47:42 +0000 |
---|---|---|
committer | Pietro Cerutti <gahr@FreeBSD.org> | 2016-10-16 10:47:42 +0000 |
commit | a71521b5ba9d94c7d2d709d89093e967beeb117e (patch) | |
tree | fffb03b06a9eed08e711e559851ab66510cd0105 /databases/cassandra-cpp-driver/files/patch-src_uuids.cpp | |
parent | Update 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 '')
-rw-r--r-- | databases/cassandra-cpp-driver/files/patch-src_uuids.cpp | 11 |
1 files changed, 11 insertions, 0 deletions
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, |