lsd: patch for old windows-sys crate

This was before the windows-sys crate supported
aarch64-pc-windows-gnullvm, so the old patch to make it use the msvc
import lib instead had to be resurrected.
This commit is contained in:
Jeremy Drake
2023-06-02 23:41:01 -07:00
parent 0caffb3cc3
commit 991eed2a81
2 changed files with 45 additions and 2 deletions

View File

@@ -16,8 +16,10 @@ makedepends=("${MINGW_PACKAGE_PREFIX}-rust")
#depends=()
#optdepends=('powerline-fonts: powerline symbols for terminals'
# 'nerd-fonts-complete: popular collections such as Font Awesome & fonts such as Hack')
source=("${_realname}-${pkgver}.tar.gz::https://github.com/Peltoche/lsd/archive/refs/tags/${pkgver}.tar.gz")
sha256sums=('9698919689178cc095f39dcb6a8a41ce32d5a1283e6fe62755e9a861232c307d')
source=("${_realname}-${pkgver}.tar.gz::https://github.com/Peltoche/lsd/archive/refs/tags/${pkgver}.tar.gz"
"old-windows-aarch64.patch")
sha256sums=('9698919689178cc095f39dcb6a8a41ce32d5a1283e6fe62755e9a861232c307d'
'd5af6a44b5309465faa8485e74062dfc30705acd08d8f5a9bc02431f6894edd2')
prepare() {
cd "${srcdir}/${_realname}-${pkgver}"
@@ -35,6 +37,7 @@ replace-with = "vendored-sources"
directory = "vendor"
END
patch -Np1 -i "${srcdir}/old-windows-aarch64.patch"
}
build() {

File diff suppressed because one or more lines are too long