From 3f260fa5ce09ae8a1108ae887dae7d8ca5479111 Mon Sep 17 00:00:00 2001 From: Lucio Sauer Date: Tue, 16 May 2023 03:37:34 +0200 Subject: [PATCH] app-misc/onefetch: unbundle libgit2 * The libgit2-sys crate dynamically links to system lib, if provided, before falling back to building and statically linking it. Signed-off-by: Lucio Sauer --- app-misc/onefetch/onefetch-2.17.1.ebuild | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/app-misc/onefetch/onefetch-2.17.1.ebuild b/app-misc/onefetch/onefetch-2.17.1.ebuild index d4fc3af15c..1f9237876a 100644 --- a/app-misc/onefetch/onefetch-2.17.1.ebuild +++ b/app-misc/onefetch/onefetch-2.17.1.ebuild @@ -432,7 +432,13 @@ PATCHES=( "${FILESDIR}"/${P}-fix-missing-git-repo.patch ) +# libgit2-sys-${cver}+${sover} dynamically links to libgit2.so, if provided +# check https://github.com/rust-lang/git2-rs/blob/libgit2-sys-${cver}%2B${sover}/libgit2-sys/build.rs +# and Cargo.lock before dep bump +DEPEND=">=dev-libs/libgit2-1.6.4