diff --git a/srcpkgs/git-absorb/patches/bump-git2.patch b/srcpkgs/git-absorb/patches/bump-git2.patch new file mode 100644 index 00000000000..bab771ba1be --- /dev/null +++ b/srcpkgs/git-absorb/patches/bump-git2.patch @@ -0,0 +1,13 @@ +diff --git a/Cargo.toml b/Cargo.toml +index 20a0ec5..7b86eed 100644 +--- a/Cargo.toml ++++ b/Cargo.toml +@@ -21,7 +21,7 @@ name = "git-absorb" + path = "src/main.rs" + + [dependencies.git2] +-version = "~0.16" ++version = "~0.17" + default-features = false + + [dependencies] diff --git a/srcpkgs/git-absorb/template b/srcpkgs/git-absorb/template index 9af2b5ca4ed..5f7d34c5fb3 100644 --- a/srcpkgs/git-absorb/template +++ b/srcpkgs/git-absorb/template @@ -1,7 +1,7 @@ # Template file for 'git-absorb' pkgname=git-absorb version=0.6.10 -revision=1 +revision=2 build_style=cargo build_helper=qemu hostmakedepends="pkg-config" @@ -13,6 +13,10 @@ homepage="https://github.com/tummychow/git-absorb" distfiles="https://github.com/tummychow/git-absorb/archive/refs/tags/${version}.tar.gz" checksum=6cc58d2ae50027a212811faa065623666ccb6e8bd933e801319aaf92b164aa0a +post_patch() { + cargo update --package git2@0.16.1 --precise 0.17.2 +} + post_install() { vlicense LICENSE.md vman Documentation/git-absorb.1