summaryrefslogtreecommitdiff
path: root/community/postgis/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/postgis/PKGBUILD')
-rw-r--r--community/postgis/PKGBUILD17
1 files changed, 13 insertions, 4 deletions
diff --git a/community/postgis/PKGBUILD b/community/postgis/PKGBUILD
index c23641d09..090ed1229 100644
--- a/community/postgis/PKGBUILD
+++ b/community/postgis/PKGBUILD
@@ -1,19 +1,28 @@
-# $Id: PKGBUILD 111814 2014-05-25 09:10:19Z jlichtblau $
+# $Id: PKGBUILD 112476 2014-06-02 16:15:41Z anatolik $
# Maintainer: Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
# Contributor: dibblethewrecker dibblethewrecker.at.jiwe.dot.org
# Contributor: William Rea <sillywilly@gmail.com>
pkgname=postgis
pkgver=2.1.3
-pkgrel=1
+pkgrel=2
pkgdesc="Adds support for geographic objects to PostgreSQL"
arch=('i686' 'x86_64')
url="http://postgis.net/"
license=('GPL')
depends=('postgresql' 'gdal' 'json-c')
changelog=$pkgname.changelog
-source=(http://download.osgeo.org/postgis/source/${pkgname}-${pkgver}.tar.gz)
-sha256sums=('c17812aa4bb86ed561dfc65cb42ab45176b94e0620de183a4bbd773d6d876ec1')
+source=(http://download.osgeo.org/postgis/source/${pkgname}-${pkgver}.tar.gz
+ fix_json_012.patch)
+sha256sums=('c17812aa4bb86ed561dfc65cb42ab45176b94e0620de183a4bbd773d6d876ec1'
+ '68fd36730baf96341744c03582b0e8af309328ba79bb59fa981a515299cc1bda')
+
+prepare() {
+ cd ${pkgname}-${pkgver}
+
+ # Compilation failure from upstream. FS#40528
+ patch -p1 < "$srcdir"/fix_json_012.patch
+}
build() {
cd ${pkgname}-${pkgver}