cvise: Fix build with clang-21
This commit is contained in:
parent
98f4a4c281
commit
871ab2701b
@ -4,7 +4,7 @@ _realname=cvise
|
||||
pkgbase=mingw-w64-${_realname}
|
||||
pkgname=("${MINGW_PACKAGE_PREFIX}-${_realname}")
|
||||
pkgver=2.11.0
|
||||
pkgrel=5
|
||||
pkgrel=6
|
||||
pkgdesc="Super-parallel Python port of the C-Reduce (mingw-w64)"
|
||||
arch=('any')
|
||||
mingw_arch=('mingw64' 'ucrt64' 'clang64' 'clangarm64')
|
||||
@ -37,19 +37,31 @@ source=("https://github.com/marxin/cvise/archive/v${pkgver}/${_realname}-${pkgve
|
||||
"001-fix-build-with-llvm-20.patch::https://github.com/marxin/cvise/commit/29fc072f.patch"
|
||||
"002-make-relocatable.patch"
|
||||
"003-fix-cvise-delta.patch"
|
||||
"004-add-basic-bash-support.patch")
|
||||
"004-add-basic-bash-support.patch"
|
||||
"005-fix-build-with-llvm-21.patch::https://github.com/marxin/cvise/commit/68262f7d.patch")
|
||||
sha256sums=('7e3e473843aa79afb98f581d2e100efa47db80df3a961565b691d7b4a4ebd14b'
|
||||
'99271cc615968178fc6edefb3cd50656bf513b2e7a6294f104fa5536d0b8a6ae'
|
||||
'a0ecb4e04bc2315f62545c2b001ed4e9c8c4d74a5f31dfae3319ac05bc76e5c8'
|
||||
'2544e65b5100f72961066e314d0ee0ccded1241e2c48c0d85e8157c932a6966b'
|
||||
'f2ad4266b9d3d43c44320725f97f4b6f94172a77dd2e38917ada20ffc25dc637')
|
||||
'f2ad4266b9d3d43c44320725f97f4b6f94172a77dd2e38917ada20ffc25dc637'
|
||||
'd12cde7a8e7327df06db7adfb4c52f623c758048ede8ff77b9ec504c41ce1e4a')
|
||||
|
||||
apply_patch_with_msg() {
|
||||
for _patch in "$@"
|
||||
do
|
||||
msg2 "Applying ${_patch}"
|
||||
patch -Nbp1 -i "${srcdir}/${_patch}"
|
||||
done
|
||||
}
|
||||
|
||||
prepare() {
|
||||
cd ${_realname}-${pkgver}
|
||||
patch -p1 -i "${srcdir}"/001-fix-build-with-llvm-20.patch
|
||||
patch -p1 -i "${srcdir}"/002-make-relocatable.patch
|
||||
patch -p1 -i "${srcdir}"/003-fix-cvise-delta.patch
|
||||
patch -p1 -i "${srcdir}"/004-add-basic-bash-support.patch
|
||||
apply_patch_with_msg \
|
||||
001-fix-build-with-llvm-20.patch \
|
||||
002-make-relocatable.patch \
|
||||
003-fix-cvise-delta.patch \
|
||||
004-add-basic-bash-support.patch \
|
||||
005-fix-build-with-llvm-21.patch
|
||||
}
|
||||
|
||||
build() {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user