summaryrefslogtreecommitdiff
path: root/community/php-memcache/PKGBUILD
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-03-20 00:06:15 -0700
committerroot <root@rshg054.dnsready.net>2013-03-20 00:06:15 -0700
commit3cdbec41955c7232e91ef149f77ce9ed215a10fa (patch)
treefed17e099ae656f291e56a1d4a7be731210b6a09 /community/php-memcache/PKGBUILD
parentb54c21859be3590a319ceade1f58d0b89ac5ef32 (diff)
Wed Mar 20 00:06:15 PDT 2013
Diffstat (limited to 'community/php-memcache/PKGBUILD')
-rw-r--r--community/php-memcache/PKGBUILD13
1 files changed, 9 insertions, 4 deletions
diff --git a/community/php-memcache/PKGBUILD b/community/php-memcache/PKGBUILD
index f9c3e0fa7..e67b0a5a7 100644
--- a/community/php-memcache/PKGBUILD
+++ b/community/php-memcache/PKGBUILD
@@ -1,9 +1,9 @@
-# $Id: PKGBUILD 76558 2012-09-23 05:22:53Z foutrelis $
+# $Id: PKGBUILD 86563 2013-03-19 15:14:56Z foutrelis $
# Maintainer: Evangelos Foutras <evangelos@foutrelis.com>
pkgname=php-memcache
pkgver=3.0.7
-pkgrel=1
+pkgrel=2
pkgdesc="Memcache module for PHP"
arch=('i686' 'x86_64')
url="http://pecl.php.net/package/memcache"
@@ -11,12 +11,17 @@ license=('PHP')
depends=('php')
backup=('etc/php/conf.d/memcache.ini')
install=php-memcache.install
-source=(http://pecl.php.net/get/memcache-$pkgver.tgz)
-sha256sums=('f34e2ef42dd8f1f7e6a2cfbb9417a9e58e3bfd7f5db7227ca5afab686cefdd1f')
+source=(http://pecl.php.net/get/memcache-$pkgver.tgz
+ php-memcache-3.0.7-fix-segfault-with-object-serialization.patch)
+sha256sums=('f34e2ef42dd8f1f7e6a2cfbb9417a9e58e3bfd7f5db7227ca5afab686cefdd1f'
+ '100bffed22ad537de1cb03653e2dbb6768617ba3b8b49b1cf05c59554270c25b')
build() {
cd "$srcdir/memcache-$pkgver"
+ # https://bugs.php.net/bug.php?id=63142
+ patch -Np0 -i "$srcdir/php-memcache-3.0.7-fix-segfault-with-object-serialization.patch"
+
phpize
./configure --prefix=/usr
make