delta: rebuild for libgit2
This commit is contained in:
parent
cf92d83047
commit
9cbd8fbc18
2 changed files with 16 additions and 3 deletions
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'
|
# Template file for 'delta'
|
||||||
pkgname=delta
|
pkgname=delta
|
||||||
version=0.16.5
|
version=0.16.5
|
||||||
revision=1
|
revision=2
|
||||||
build_style=cargo
|
build_style=cargo
|
||||||
hostmakedepends="pkg-config"
|
hostmakedepends="pkg-config"
|
||||||
makedepends="libgit2-devel oniguruma-devel"
|
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"
|
distfiles="https://github.com/dandavison/delta/archive/refs/tags/${version}.tar.gz"
|
||||||
checksum=00d4740e9da4f543f34a2a0503615f8190d307d1180dfb753b6911aa6940197f
|
checksum=00d4740e9da4f543f34a2a0503615f8190d307d1180dfb753b6911aa6940197f
|
||||||
|
|
||||||
pre_build() {
|
post_patch() {
|
||||||
export RUSTONIG_SYSTEM_LIBONIG=1
|
cargo update --package git2@0.16.1 --precise 0.17.2
|
||||||
}
|
}
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue