summaryrefslogtreecommitdiff
path: root/extra/libproxy/PKGBUILD
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-06-04 00:01:23 +0000
committerroot <root@rshg054.dnsready.net>2012-06-04 00:01:23 +0000
commit1e6588d64f084decf287a58b7ff93ff0ce4d0446 (patch)
tree29bf5b8778e1eb67871d9e6e8bb6e205bdde5db7 /extra/libproxy/PKGBUILD
parent80053e720288b6205a59c52c1b31c14a0f830989 (diff)
Mon Jun 4 00:01:23 UTC 2012
Diffstat (limited to 'extra/libproxy/PKGBUILD')
-rw-r--r--extra/libproxy/PKGBUILD13
1 files changed, 10 insertions, 3 deletions
diff --git a/extra/libproxy/PKGBUILD b/extra/libproxy/PKGBUILD
index 5b1367bd5..ca6d9e2d0 100644
--- a/extra/libproxy/PKGBUILD
+++ b/extra/libproxy/PKGBUILD
@@ -3,7 +3,7 @@
pkgname=libproxy
pkgver=0.4.7
-pkgrel=1
+pkgrel=2
pkgdesc="A library that provides automatic proxy configuration management"
arch=(i686 x86_64)
license=('LGPL')
@@ -14,12 +14,19 @@ optdepends=('kdelibs: KDE configuration module'
'python2: Python bindings')
makedepends=('cmake' 'networkmanager' 'automoc4' 'python2' 'kdelibs' 'perl')
url="http://libproxy.googlecode.com"
-source=(http://libproxy.googlecode.com/files/${pkgname}-${pkgver}.tar.gz)
+source=(http://libproxy.googlecode.com/files/${pkgname}-${pkgver}.tar.gz
+ libproxy-0.4.7-unistd.patch)
options=('!libtool')
-md5sums=('509e03a488a61cd62bfbaf3ab6a2a7a5')
+md5sums=('509e03a488a61cd62bfbaf3ab6a2a7a5'
+ 'e90c03f296e553ace347b46f4fea3625')
build() {
cd "${srcdir}"
+
+ # Fix build with GCC 4.7 (patch from Fedora)
+ patch -d "${pkgname}-${pkgver}" -Np1 -i \
+ "${srcdir}/libproxy-0.4.7-unistd.patch"
+
mkdir build
cd build
cmake ../${pkgname}-${pkgver} \