summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorLubosz Sarnecki2016-07-03 11:24:56 +0200
committerLubosz Sarnecki2016-07-03 11:24:56 +0200
commit9c0f8b006e955806420355fbc546388dc1103b7b (patch)
treec0481ad58d65d7e75a548521756d5a217fc51774 /PKGBUILD
parent10050470c1336caa4e325be1f2fb9537ae22a385 (diff)
downloadaur-9c0f8b006e955806420355fbc546388dc1103b7b.tar.gz
add patch from fedora.
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD9
1 files changed, 6 insertions, 3 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 15b4d699d26..500d3c2ee2a 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -14,11 +14,14 @@ depends=('hdf5')
makedepends=('cmake' 'python2')
optdepends=('python2: python bindings'
'cuda: cuda support')
-source=("http://people.cs.ubc.ca/~mariusm/uploads/FLANN/flann-${pkgver}-src.zip")
-md5sums=('a0ecd46be2ee11a68d2a7d9c6b4ce701')
+source=("http://people.cs.ubc.ca/~mariusm/uploads/FLANN/flann-${pkgver}-src.zip"
+ "http://pkgs.fedoraproject.org/cgit/rpms/flann.git/plain/flann-1.8.4-gcc6.patch")
+md5sums=('a0ecd46be2ee11a68d2a7d9c6b4ce701'
+ '21ec2d7009fb09307ab74909f3b1d04e')
build() {
- cd $srcdir/flann-${pkgver}-src
+ cd "$srcdir/flann-${pkgver}-src"
+ patch -p0 < ../flann-1.8.4-gcc6.patch
sed -i 's/lib64/lib/g' cmake/flann_utils.cmake