Skip to content

Commit

Permalink
gitoxide: update to 0.39.0
Browse files Browse the repository at this point in the history
remove patch as ntapi-rs is not built with `max-pure` feature
  • Loading branch information
ognevny authored Nov 24, 2024
1 parent 9a813bb commit d93bba6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 26 deletions.
18 changes: 3 additions & 15 deletions mingw-w64-gitoxide/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
_realname=gitoxide
pkgbase=mingw-w64-${_realname}
pkgname="${MINGW_PACKAGE_PREFIX}-${_realname}"
pkgver=0.38.0
pkgver=0.39.0
pkgrel=1
pkgdesc="An idiomatic, lean, fast & safe pure Rust implementation of Git (mingw-w64)"
arch=('any')
Expand All @@ -17,12 +17,8 @@ depends=("${MINGW_PACKAGE_PREFIX}-sqlite3")
makedepends=("${MINGW_PACKAGE_PREFIX}-rust"
"${MINGW_PACKAGE_PREFIX}-pkgconf"
'git')
source=("git+${url}.git#tag=v${pkgver}"
"ntapi-rs.tar.gz::https://crates.io/api/v1/crates/ntapi/0.4.1/download"
"ntapi-link-ntdll-arm64.patch")
sha256sums=('c98c1d9af6077be1e0ef96870ddc792b1b831d53928da718f28398f8156c5d77'
'e8a3895c6391c39d7fe7ebc444a87eb2991b2a0bc718fdabd071eec617fc68e4'
'9994d5b61f020f85f67df54c56c793bd4faf41e39b62ddd4e67c482b9a11b73e')
source=("git+${url}.git#tag=v${pkgver}")
sha256sums=('3b182386e8bf4026fa7c91a3d750c213f17d33ab42969d01c07c8c07ae757549')

_env() {
export WINAPI_NO_BUNDLED_LIBRARIES=1
Expand All @@ -32,14 +28,6 @@ _env() {
prepare() {
cd "${_realname}"

patch -d ../ntapi-0.4.1 -Np1 -i "${srcdir}/ntapi-link-ntdll-arm64.patch"
cat >> Cargo.toml <<END
[patch.crates-io]
ntapi = { path = "../ntapi-0.4.1" }
END

cargo update -p ntapi
cargo fetch --locked --target "$(rustc -vV | sed -n 's/host: //p')"
}

Expand Down
11 changes: 0 additions & 11 deletions mingw-w64-gitoxide/ntapi-link-ntdll-arm64.patch

This file was deleted.

0 comments on commit d93bba6

Please sign in to comment.