mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-07 07:33:48 +02:00
bat: rebuild for libgit2
This commit is contained in:
parent
478a4da921
commit
cbe6d9d9ea
2 changed files with 17 additions and 2 deletions
13
srcpkgs/bat/patches/bump-git2.patch
Normal file
13
srcpkgs/bat/patches/bump-git2.patch
Normal file
|
@ -0,0 +1,13 @@
|
|||
diff --git a/Cargo.toml b/Cargo.toml
|
||||
index 44460e0..78dfbde 100644
|
||||
--- a/Cargo.toml
|
||||
+++ b/Cargo.toml
|
||||
@@ -68,7 +68,7 @@ walkdir = { version = "2.0", optional = true }
|
||||
bytesize = { version = "1.1.0" }
|
||||
|
||||
[dependencies.git2]
|
||||
-version = "0.16"
|
||||
+version = "0.17"
|
||||
optional = true
|
||||
default-features = false
|
||||
|
|
@ -1,7 +1,7 @@
|
|||
# Template file for 'bat'
|
||||
pkgname=bat
|
||||
version=0.23.0
|
||||
revision=1
|
||||
revision=2
|
||||
build_style=cargo
|
||||
hostmakedepends="cmake llvm clang pkg-config"
|
||||
makedepends="libcurl-devel libgit2-devel libssh2-devel oniguruma-devel"
|
||||
|
@ -19,7 +19,9 @@ case "$XBPS_TARGET_MACHINE" in
|
|||
*) ;;
|
||||
esac
|
||||
|
||||
export RUSTONIG_SYSTEM_LIBONIG=1
|
||||
post_patch() {
|
||||
cargo update --package git2@0.16.1 --precise 0.17.2
|
||||
}
|
||||
|
||||
pre_build() {
|
||||
export CFLAGS_${RUST_BUILD//-/_}="${CFLAGS_host}"
|
||||
|
|
Loading…
Add table
Reference in a new issue