[packages/libcassandra] Patches

arekm arekm at pld-linux.org
Sun Mar 15 00:02:12 CET 2026


commit 5c69e93a51f1adb728cb59c3e1af32246af097e9
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Sun Mar 15 00:02:05 2026 +0100

    Patches

 libcassandra-ac.patch                          | 19 ++++++++++++++--
 libcassandra-boost-tr1-functional-compat.patch | 30 ++++++++++++++++++++++++++
 libcassandra-thrift-boost-shared-ptr.patch     |  9 ++++++++
 3 files changed, 56 insertions(+), 2 deletions(-)
---
diff --git a/libcassandra-ac.patch b/libcassandra-ac.patch
index 10cbb4f..eefcfba 100644
--- a/libcassandra-ac.patch
+++ b/libcassandra-ac.patch
@@ -1,6 +1,10 @@
 --- matkor-libcassandra-98ab52b/configure.ac~	2011-06-01 13:08:55.000000000 +0200
-+++ matkor-libcassandra-98ab52b/configure.ac	2014-01-28 20:06:30.684885060 +0100
-@@ -15,6 +15,7 @@
++++ matkor-libcassandra-98ab52b/configure.ac	2026-03-10 18:10:00.000000000 +0100
+@@ -11,10 +11,10 @@
+ AC_CONFIG_MACRO_DIR([m4])
+ AC_CONFIG_SRCDIR([libcassandra/cassandra.cc])
+ AC_CONFIG_AUX_DIR(config)
+-AM_INIT_AUTOMAKE
  
  AC_PROG_CXX
  AC_PROG_LIBTOOL
@@ -43,3 +47,14 @@
    acl_libdirstem2=
    case "$host_os" in
      solaris*)
+--- matkor-libcassandra-98ab52b/m4/pandora_canonical.m4~	2011-06-01 13:08:55.000000000 +0200
++++ matkor-libcassandra-98ab52b/m4/pandora_canonical.m4	2026-03-10 18:01:00.000000000 +0100
+@@ -58,8 +58,6 @@
+         m4_define([PCT_VERSION_FROM_VC],[yes])
+     ])
+   ])
+-
+-  AC_CONFIG_MACRO_DIR([m4])
+ 
+   m4_if(m4_substr(m4_esyscmd(test -d src && echo 0),0,1),0,[
+     AC_CONFIG_HEADERS([src/config.h])
diff --git a/libcassandra-boost-tr1-functional-compat.patch b/libcassandra-boost-tr1-functional-compat.patch
new file mode 100644
index 0000000..7c8f206
--- /dev/null
+++ b/libcassandra-boost-tr1-functional-compat.patch
@@ -0,0 +1,30 @@
+--- /dev/null
++++ matkor-libcassandra-98ab52b/boost/tr1/functional.hpp
+@@ -0,0 +1,27 @@
++#ifndef BOOST_TR1_FUNCTIONAL_HPP
++#define BOOST_TR1_FUNCTIONAL_HPP
++
++#include <functional>
++
++namespace std {
++namespace tr1 {
++
++using ::std::bind;
++using ::std::function;
++
++namespace placeholders {
++using ::std::placeholders::_1;
++using ::std::placeholders::_2;
++using ::std::placeholders::_3;
++using ::std::placeholders::_4;
++using ::std::placeholders::_5;
++using ::std::placeholders::_6;
++using ::std::placeholders::_7;
++using ::std::placeholders::_8;
++using ::std::placeholders::_9;
++}
++
++}
++}
++
++#endif
diff --git a/libcassandra-thrift-boost-shared-ptr.patch b/libcassandra-thrift-boost-shared-ptr.patch
new file mode 100644
index 0000000..8b05030
--- /dev/null
+++ b/libcassandra-thrift-boost-shared-ptr.patch
@@ -0,0 +1,9 @@
+--- matkor-libcassandra-98ab52b/libgenthrift/Cassandra.h.orig
++++ matkor-libcassandra-98ab52b/libgenthrift/Cassandra.h
+@@ -6,6 +6,7 @@
+ #ifndef Cassandra_H
+ #define Cassandra_H
+ 
++#include <boost/shared_ptr.hpp>
+ #include <TProcessor.h>
+ #include "cassandra_types.h"
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/libcassandra.git/commitdiff/5c69e93a51f1adb728cb59c3e1af32246af097e9



More information about the pld-cvs-commit mailing list