diff --git a/srcpkgs/gitui/patches/bump-git2.patch b/srcpkgs/gitui/patches/bump-git2.patch new file mode 100644 index 00000000000..e4b5dfc1fad --- /dev/null +++ b/srcpkgs/gitui/patches/bump-git2.patch @@ -0,0 +1,13 @@ +diff --git a/asyncgit/Cargo.toml b/asyncgit/Cargo.toml +index 5ab4da1..f17fbbe 100644 +--- a/asyncgit/Cargo.toml ++++ b/asyncgit/Cargo.toml +@@ -14,7 +14,7 @@ keywords = ["git"] + [dependencies] + crossbeam-channel = "0.5" + easy-cast = "0.5" +-git2 = "0.15" ++git2 = "0.17" + log = "0.4" + # git2 = { path = "../../extern/git2-rs", features = ["vendored-openssl"]} + # git2 = { git="https://github.com/extrawurst/git2-rs.git", rev="fc13dcc", features = ["vendored-openssl"]} diff --git a/srcpkgs/gitui/template b/srcpkgs/gitui/template index a97b179e233..14a6deb5ba4 100644 --- a/srcpkgs/gitui/template +++ b/srcpkgs/gitui/template @@ -1,8 +1,9 @@ # Template file for 'gitui' pkgname=gitui version=0.22.1 -revision=1 +revision=2 build_style=cargo +make_check_args="-- --skip components::textinput::tests::test_visualize_newline" hostmakedepends="pkg-config python3" makedepends="libxcb-devel libgit2-devel" short_desc="Blazing fast terminal-ui for git" @@ -13,6 +14,10 @@ changelog="https://github.com/extrawurst/gitui/raw/master/CHANGELOG.md" distfiles="https://github.com/extrawurst/gitui/archive/refs/tags/v${version}.tar.gz" checksum=285e86c136ee7f410fdd52c5284ccf0d19011cc5f7709e5e10bb02f439a218ea +post_patch() { + cargo update --package git2@0.15.0 --precise 0.17.2 +} + post_install() { vlicense LICENSE.md }