--- PKGBUILD.orig 2010-10-27 01:16:45.100041694 +0300 +++ PKGBUILD 2010-10-27 01:17:09.041397379 +0300 @@ -4,7 +4,7 @@ pkgname=qgis pkgver=1.5.0 -pkgrel=2 +pkgrel=3 pkgdesc='A Geographic Information System (GIS) that supports vector, raster & database formats.' url='http://qgis.org/' license=('GPL') @@ -15,16 +15,22 @@ source=("http://download.osgeo.org/qgis/src/${pkgname}_${pkgver}.tar.gz" 'qgis.desktop' 'fix-compilation.patch' - 'sip.patch') + 'sip.patch' + 'ticket-2985.patch') md5sums=('a198fbcd8d96f5ed5e85a814cbc8f033' '8ab66039f2aba519b92f52272ec3c13e' '3dd026c1491a3515f45854c2908fc7c9' - 'c1b75ba7b9423a557b0febbe39066286') + 'c1b75ba7b9423a557b0febbe39066286' + '1a2340a7376cecdcfe2394eb99040d39') build() { # Fix insecure RPATH is weird, but just works ;) # echo "os.system(\"sed -i '/^LFLAGS/s|-Wl,-rpath,.\+ ||g' gui/Makefile core/Makefile\")" >> python/configure.py.in + cd ${srcdir}/${pkgname}-${pkgver} + patch -Np1 -i ../ticket-2985.patch || exit 1 + cd ${srcdir} rm -rf build mkdir build cd build