delta: rebuild for libgit2
This commit is contained in:
parent
cf92d83047
commit
9cbd8fbc18
13
srcpkgs/delta/patches/bump-git2.patch
Normal file
13
srcpkgs/delta/patches/bump-git2.patch
Normal file
@ -0,0 +1,13 @@
|
||||
diff --git a/Cargo.toml b/Cargo.toml
|
||||
index 8c0c6d8..4fdaa9d 100644
|
||||
--- a/Cargo.toml
|
||||
+++ b/Cargo.toml
|
||||
@@ -46,7 +46,7 @@ vte = "0.11.0"
|
||||
xdg = "2.4.1"
|
||||
|
||||
[dependencies.git2]
|
||||
-version = "0.16.1"
|
||||
+version = "0.17"
|
||||
default-features = false
|
||||
features = []
|
||||
|
@ -1,7 +1,7 @@
|
||||
# Template file for 'delta'
|
||||
pkgname=delta
|
||||
version=0.16.5
|
||||
revision=1
|
||||
revision=2
|
||||
build_style=cargo
|
||||
hostmakedepends="pkg-config"
|
||||
makedepends="libgit2-devel oniguruma-devel"
|
||||
@ -13,8 +13,8 @@ homepage="https://github.com/dandavison/delta"
|
||||
distfiles="https://github.com/dandavison/delta/archive/refs/tags/${version}.tar.gz"
|
||||
checksum=00d4740e9da4f543f34a2a0503615f8190d307d1180dfb753b6911aa6940197f
|
||||
|
||||
pre_build() {
|
||||
export RUSTONIG_SYSTEM_LIBONIG=1
|
||||
post_patch() {
|
||||
cargo update --package git2@0.16.1 --precise 0.17.2
|
||||
}
|
||||
|
||||
post_install() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user