summaryrefslogtreecommitdiff
path: root/community/mapnik
diff options
context:
space:
mode:
Diffstat (limited to 'community/mapnik')
-rw-r--r--community/mapnik/PKGBUILD7
1 files changed, 3 insertions, 4 deletions
diff --git a/community/mapnik/PKGBUILD b/community/mapnik/PKGBUILD
index fc7444c49..f17501d54 100644
--- a/community/mapnik/PKGBUILD
+++ b/community/mapnik/PKGBUILD
@@ -1,11 +1,11 @@
-# $Id: PKGBUILD 59948 2011-12-02 20:59:31Z ibiru $
+# $Id: PKGBUILD 63658 2012-02-05 12:04:01Z ibiru $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: David Dent <thewinch@gmail.com>
# Contributor: orbisvicis <orbisvicis@gmail.com>
pkgname=mapnik
pkgver=0.7.1
-pkgrel=12
+pkgrel=13
pkgdesc="Free Toolkit for developing mapping applications. Above all Mapnik is about rendering beautiful maps."
arch=('i686' 'x86_64' 'mips64el')
url="http://mapnik.org/"
@@ -34,7 +34,7 @@ build() {
#patch SConstruct so libs end up in /usr/lib not /usr/lib64 on X86_64
sed -i -e "/LIBDIR_SCHEMA=/s/lib64/lib/" SConstruct
-
+ sed -i 's|png_ptr->io_ptr|png_get_io_ptr(png_ptr)|g' src/png_reader.cpp
sed -i 's/-ansi -Wall/-ansi -DBOOST_FILESYSTEM_VERSION=2 -Wall/' SConstruct
scons configure \
@@ -46,7 +46,6 @@ build() {
package(){
cd "$srcdir/$pkgname-$pkgver"
scons install
-
# fix permissions on SCons-autogenerated files
chmod 644 "${pkgdir}/usr/lib/python2.7/site-packages/mapnik/paths.py"
}