diff --git a/srcpkgs/git-cliff/patches/downgrade-git2.patch b/srcpkgs/git-cliff/patches/downgrade-git2.patch new file mode 100644 index 00000000000..dd5a3ece05c --- /dev/null +++ b/srcpkgs/git-cliff/patches/downgrade-git2.patch @@ -0,0 +1,13 @@ +diff --git a/git-cliff-core/Cargo.toml b/git-cliff-core/Cargo.toml +index 2cab8ec..66b5a8f 100644 +--- a/git-cliff-core/Cargo.toml ++++ b/git-cliff-core/Cargo.toml +@@ -28,7 +28,7 @@ toml = "0.7.6" + lazy-regex = "3.0.1" + + [dependencies.git2] +-version = "0.18.0" ++version = "0.17" + default-features = false + optional = true + diff --git a/srcpkgs/git-cliff/template b/srcpkgs/git-cliff/template index c957b30cb06..c879921e761 100644 --- a/srcpkgs/git-cliff/template +++ b/srcpkgs/git-cliff/template @@ -1,6 +1,6 @@ # Template file for 'git-cliff' pkgname=git-cliff -version=1.2.0 +version=1.3.0 revision=1 archs="x86_64* i686* aarch64* arm*" # ring build_style=cargo @@ -15,7 +15,11 @@ license="GPL-3.0-only" homepage="https://github.com/orhun/git-cliff" changelog="https://raw.githubusercontent.com/orhun/git-cliff/main/CHANGELOG.md" distfiles="https://github.com/orhun/git-cliff/archive/refs/tags/v${version}.tar.gz" -checksum=10db6fd8fe777f384de2e00336b1cb664095a2f068526f8ace4e7944a7ada270 +checksum=3c130ebbd3121d3994ecd1ff1062220de610c7491ada02f9d421c8869674c386 + +post_patch() { + cargo update --package git2@0.18.0 --precise 0.17.2 +} post_install() { vdoc README.md