summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorNikolay Korotkiy2019-07-03 14:03:33 +0300
committerNikolay Korotkiy2019-07-03 14:03:33 +0300
commitcc2ce2736ecdf793cf5e0bb94e168cc5ca987e85 (patch)
tree3f01b6ac84704415ec9a591c3c649da11bc4bfaf /PKGBUILD
parentefa5dd849c26e748c8c397a15e967cad7f2f1910 (diff)
downloadaur-cc2ce2736ecdf793cf5e0bb94e168cc5ca987e85.tar.gz
Fix compiling with proj 6
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD5
1 files changed, 4 insertions, 1 deletions
diff --git a/PKGBUILD b/PKGBUILD
index a980bd6f255..da067372ac2 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
# Maintainer: Nikolay Korotkiy <sikmir@gmail.com>
pkgname=mapsoft
pkgver=20190213
-pkgrel=1
+pkgrel=2
pkgdesc='Programs for working with maps and geodata'
arch=(x86_64)
url='http://slazav.mccme.ru/prog/mapsoft.htm'
@@ -10,14 +10,17 @@ depends=('curl' 'giflib' 'gtkmm' 'libjpeg-turbo' 'libtiff' 'libusb' 'libxml2' 'l
makedepends=('boost' 'netpbm' 'perl' 'scons' 'transfig')
source=("https://github.com/ushakov/${pkgname}/archive/${pkgver}-alt1.tar.gz"
'mapsoft_mapview.desktop'
+ 'proj_api.patch'
'scons.patch')
sha256sums=('49f06f337ad71f63edfacfb06a9bb0d536a991853eea7255373071eed001a171'
'f6b0c49271c21f44e2f007b3096c0d80e662c0dc9ff8b66e60c82402b1826096'
+ '55c44eb94e71c7da87bb9d98f53a72cfa936d7f3380782674b93ec13779e95bc'
'5c1430eda36cc13aba489e2467f01b101872e066c19982ba2accd3f230a56e96')
prepare() {
cd ${pkgname}-${pkgver}-alt1
+ patch -Np1 < ../proj_api.patch
patch -Np1 < ../scons.patch
}