summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorSkunnyk2015-10-19 11:57:45 +0200
committerSkunnyk2015-10-19 11:57:45 +0200
commitdc5ef63ad2eae1bd39074135d7345040c551d95b (patch)
tree985cd083741d6a3b32730e3142496129f62574cb
parentc682b2caad488ffb4fe3de213d27aaa5d1f0c89a (diff)
downloadaur-php-pdo-cassandra.tar.gz
Fix for thrift 0.9.2
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD7
2 files changed, 5 insertions, 4 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 2068c932940c..ca543a4f4e9b 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = php-pdo-cassandra
pkgdesc = PDO driver for Cassandra CQL
pkgver = 0.6.0
- pkgrel = 1
+ pkgrel = 2
url = http://github.com/Orange-OpenSource/YACassandraPDO
arch = x86_64
arch = i686
diff --git a/PKGBUILD b/PKGBUILD
index 1cb272f5ad7f..bb8fa5be2d40 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
# Maintainer: Skunnyk <skunnyk@archlinux.fr>
pkgname=php-pdo-cassandra
pkgver=0.6.0
-pkgrel=1
+pkgrel=2
pkgdesc="PDO driver for Cassandra CQL"
url="http://github.com/Orange-OpenSource/YACassandraPDO"
arch=('x86_64' 'i686')
@@ -17,8 +17,9 @@ build() {
phpize
./configure --prefix=/usr
- # We need to sed this generated file to support thrift 0.9.2
- sed -i "s/apache::thrift::to_string/::apache::thrift::to_string/" gen-cpp/cassandra_types.cpp
+ # We need to sed this generated file to support thrift 0.9.3
+ sed -i "s/apache::thrift::protocol::TInputRecursionTracker/::apache::thrift::protocol::TInputRecursionTracker/" gen-cpp/Cassandra.cpp gen-cpp/cassandra_types.cpp
+ sed -i "s/apache::thrift::protocol::TOutputRecursionTracker/::apache::thrift::protocol::TOutputRecursionTracker/" gen-cpp/Cassandra.cpp gen-cpp/cassandra_types.cpp
make
}