summaryrefslogtreecommitdiff
path: root/community/libmemcached/PKGBUILD
diff options
context:
space:
mode:
authorNicolás Reynolds <fauno@endefensadelsl.org>2013-06-23 14:47:42 -0300
committerNicolás Reynolds <fauno@endefensadelsl.org>2013-06-23 14:47:42 -0300
commit4617f61701a16ab6dde0c7f318e68ed2969017b0 (patch)
treedd2275d2ea69383cfed8586ba35ce10cb46a1d94 /community/libmemcached/PKGBUILD
parent0a728393e9b68e96747af1937a7b69b503cd86ef (diff)
parent8d87c082149a6574a1d17d3c28ab2cb65a1e1d96 (diff)
Merge branch 'master' of ssh://vparabola/home/parabola/abslibre-pre-mips64el
Conflicts: community/luaposix/PKGBUILD extra/mesa/PKGBUILD
Diffstat (limited to 'community/libmemcached/PKGBUILD')
-rw-r--r--community/libmemcached/PKGBUILD19
1 files changed, 14 insertions, 5 deletions
diff --git a/community/libmemcached/PKGBUILD b/community/libmemcached/PKGBUILD
index f25d774f7..6ebe63f59 100644
--- a/community/libmemcached/PKGBUILD
+++ b/community/libmemcached/PKGBUILD
@@ -1,9 +1,9 @@
-# $Id: PKGBUILD 90890 2013-05-15 08:03:49Z bpiotrowski $
+# $Id: PKGBUILD 93008 2013-06-22 07:02:22Z foutrelis $
# Maintainer: Evangelos Foutras <evangelos@foutrelis.com>
pkgname=libmemcached
-pkgver=1.0.16
-pkgrel=2
+pkgver=1.0.17
+pkgrel=1
pkgdesc="C and C++ client library to the memcached server"
arch=('i686' 'x86_64' 'mips64el')
url="http://libmemcached.org/"
@@ -11,8 +11,17 @@ license=('GPL')
depends=('glibc' 'libsasl' 'libevent')
makedepends=('perl' 'memcached' 'python-sphinx')
options=('!libtool')
-source=(http://launchpad.net/$pkgname/1.0/$pkgver/+download/$pkgname-$pkgver.tar.gz)
-sha256sums=('2215d1766bff02b75403291d3d870fcd7d0735e4d018657d4d74fc44e92bdbfc')
+source=(http://launchpad.net/$pkgname/1.0/$pkgver/+download/$pkgname-$pkgver.tar.gz
+ gcc-4.8.patch)
+sha256sums=('7bb27b2589400f918df1cf5002cb01ef7ccac6e23f818604e2386de62c80bba5'
+ '4a6b5d70cf7905fbd9e58a4646a6943da5f77b5e0a87b1518c4688f437963194')
+
+prepare() {
+ cd "$srcdir/$pkgname-$pkgver"
+
+ # Fix build with GCC 4.8 (patch from Debian)
+ patch -Np1 -i "$srcdir/gcc-4.8.patch"
+}
build() {
cd "$srcdir/$pkgname-$pkgver"