summaryrefslogtreecommitdiff
path: root/databases/libcassandra/patches/patch-libgenthrift_Cassandra.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'databases/libcassandra/patches/patch-libgenthrift_Cassandra.cpp')
-rw-r--r--databases/libcassandra/patches/patch-libgenthrift_Cassandra.cpp14
1 files changed, 14 insertions, 0 deletions
diff --git a/databases/libcassandra/patches/patch-libgenthrift_Cassandra.cpp b/databases/libcassandra/patches/patch-libgenthrift_Cassandra.cpp
new file mode 100644
index 00000000000..88a73c47b75
--- /dev/null
+++ b/databases/libcassandra/patches/patch-libgenthrift_Cassandra.cpp
@@ -0,0 +1,14 @@
+$NetBSD: patch-libgenthrift_Cassandra.cpp,v 1.1 2011/11/23 15:39:21 joerg Exp $
+
+--- libgenthrift/Cassandra.cpp.orig 2011-11-23 14:40:36.000000000 +0000
++++ libgenthrift/Cassandra.cpp
+@@ -6761,7 +6761,8 @@ void CassandraClient::recv_describe_spli
+ throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::MISSING_RESULT, "describe_splits failed: unknown result");
+ }
+
+-bool CassandraProcessor::process(boost::shared_ptr< ::apache::thrift::protocol::TProtocol> piprot, boost::shared_ptr< ::apache::thrift::protocol::TProtocol> poprot) {
++bool CassandraProcessor::process(boost::shared_ptr< ::apache::thrift::protocol::TProtocol> piprot, boost::shared_ptr< ::apache::thrift::protocol::TProtocol> poprot, void* connectionContext) {
++ (void)&connectionContext;
+
+ ::apache::thrift::protocol::TProtocol* iprot = piprot.get();
+ ::apache::thrift::protocol::TProtocol* oprot = poprot.get();