diff options
author | Martino Pilia | 2018-09-04 08:24:49 +0200 |
---|---|---|
committer | Martino Pilia | 2018-09-04 08:24:49 +0200 |
commit | 65b58f00e7928ec6f9451d7f938b5f22a728a343 (patch) | |
tree | 62fe6207316461a13dfc52a7e7d3bff07fc58189 | |
parent | 54bfff989d4f10599edfaabb64a65ab53ba8b783 (diff) | |
download | aur-65b58f00e7928ec6f9451d7f938b5f22a728a343.tar.gz |
include a patch to fix the build
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 6 |
2 files changed, 6 insertions, 2 deletions
@@ -1,7 +1,7 @@ pkgbase = ants pkgdesc = Advanced Normalization Tools (ANTs) computes high-dimensional mappings to capture the statistics of brain structure and function pkgver = 2.2.0 - pkgrel = 1 + pkgrel = 2 url = http://www.picsl.upenn.edu/ANTS/ arch = i686 arch = x86_64 @@ -1,7 +1,7 @@ # Maintainer of this PKGBUILD file: Martino Pilia <martino.pilia@gmail.com> pkgname='ants' pkgver=2.2.0 -pkgrel=1 +pkgrel=2 pkgdesc='Advanced Normalization Tools (ANTs) computes high-dimensional mappings to capture the statistics of brain structure and function' arch=('i686' 'x86_64') url='http://www.picsl.upenn.edu/ANTS/' @@ -18,6 +18,10 @@ prepare() { _builddir="${srcdir}/ANTs-${pkgver}/build" mkdir -p "$_builddir" || : + # include this patch: https://github.com/ANTsX/ANTs/commit/89af9b2694715bf8204993e032fa132f80cf37bd + sed -i 's/void GetPriorLabelParameterMap/LabelParameterMapType GetPriorLabelParameterMap/' \ + "${srcdir}/ANTs-${pkgver}/ImageSegmentation/antsAtroposSegmentationImageFilter.h" + cd "$_builddir" cmake \ |