community/gdal to 1.11.2-2

This commit is contained in:
Kevin Mihelich 2015-03-03 21:36:35 +00:00
parent e10e9ddc2e
commit b414b64f97
2 changed files with 18 additions and 3 deletions

View file

@ -9,7 +9,7 @@
pkgname=gdal
pkgver=1.11.2
pkgrel=1
pkgrel=2
pkgdesc="A translator library for raster geospatial data formats"
arch=('i686' 'x86_64')
url="http://www.gdal.org/"
@ -21,13 +21,16 @@ optdepends=('postgresql: postgresql database support'
'perl: perl binding support')
changelog=$pkgname.changelog
source=(http://download.osgeo.org/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz
gdal-1.5.1-python-install.patch)
gdal-1.5.1-python-install.patch
poppler-0.31.patch)
sha256sums=('66bc8192d24e314a66ed69285186d46e6999beb44fc97eeb9c76d82a117c0845'
'55a0a961b2d1caddf80f18b6763a96690b0b6443fbd5a0c89e29503ded3bcea6')
'55a0a961b2d1caddf80f18b6763a96690b0b6443fbd5a0c89e29503ded3bcea6'
'4fc42bdb729cec92920236ef9f3302fab497069dbb7d41d81222e7e48a36e7a6')
prepare() {
cd "${srcdir}"/$pkgname-$pkgver
patch -Np0 -i "${srcdir}"/gdal-1.5.1-python-install.patch
patch -Np1 -i "${srcdir}"/poppler-0.31.patch
# python2 fixes
sed -i 's_python python1.5_python2 python python1.5_' configure

View file

@ -0,0 +1,12 @@
diff -Nur gdal-1.11.2/frmts/pdf/pdfdataset.cpp gdal-1.11.2a/frmts/pdf/pdfdataset.cpp
--- gdal-1.11.2/frmts/pdf/pdfdataset.cpp 2015-02-10 13:11:19.000000000 +0100
+++ gdal-1.11.2a/frmts/pdf/pdfdataset.cpp 2015-03-02 18:38:25.170155277 +0100
@@ -113,7 +113,7 @@
GBool allowAntialiasA = gTrue) :
SplashOutputDev(colorModeA, bitmapRowPadA,
reverseVideoA, paperColorA,
- bitmapTopDownA, allowAntialiasA),
+ bitmapTopDownA),
bEnableVector(TRUE),
bEnableText(TRUE),
bEnableBitmap(TRUE) {}