extra/boost: v5 fix

This commit is contained in:
Kevin Mihelich 2021-06-10 14:23:36 +00:00
parent d301ef861c
commit a670131a00

View file

@ -12,6 +12,7 @@
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
# - build armv6h with -march=armv6k
# - specify arm architecture to b2 for aarch64
# - upstream PR to fix v5 FTFBS in regex module
pkgname=('boost' 'boost-libs')
pkgver=1.76.0
@ -23,15 +24,20 @@ url="https://www.boost.org/"
license=('custom')
makedepends=('icu' 'python' 'python-numpy' 'bzip2' 'zlib' 'openmpi' 'zstd')
source=(https://boostorg.jfrog.io/artifactory/main/release/$pkgver/source/$_srcname.tar.gz
$pkgname-ublas-c++20-iterator.patch::https://github.com/boostorg/ublas/commit/a31e5cffa85f.patch)
$pkgname-ublas-c++20-iterator.patch::https://github.com/boostorg/ublas/commit/a31e5cffa85f.patch
https://patch-diff.githubusercontent.com/raw/boostorg/regex/pull/132.patch)
sha256sums=('7bd7ddceec1a1dfdcbdb3e609b60d01739c38390a5f956385a12f3122049f0ca'
'aa38addb40d5f44b4a8472029b475e7e6aef1c460509eb7d8edf03491dc1b5ee')
'aa38addb40d5f44b4a8472029b475e7e6aef1c460509eb7d8edf03491dc1b5ee'
'05590413cbefd1d64c65d29c5d7d06a54629dc2db26f09e008a18cda8a61d771')
prepare() {
cd $_srcname
# https://github.com/boostorg/ublas/pull/97
patch -Np2 -i ../$pkgname-ublas-c++20-iterator.patch
# https://github.com/boostorg/regex/pull/132
patch -Np2 -i ../132.patch
}
build() {