net-analyzer/gping: remove libgit2 dependency

Closes: https://bugs.gentoo.org/932853
Signed-off-by: Takuya Wakazono <pastalian46@gmail.com>
This commit is contained in:
Takuya Wakazono
2024-05-28 21:20:59 +09:00
parent 996e54813c
commit 81261a41e5
2 changed files with 22 additions and 0 deletions

View File

@@ -0,0 +1,17 @@
https://github.com/orf/gping/commit/a3709e7dbad4a88072466e3370d28cce5e115fc4
https://bugs.gentoo.org/932853
Removes build dependency on libgit2
--- a/gping/Cargo.toml
+++ b/gping/Cargo.toml
@@ -17,9 +17,9 @@ anyhow = "1.0.81"
dns-lookup = "2.0.0"
chrono = "0.4.34"
itertools = "0.12.1"
-shadow-rs = "0.26.1"
+shadow-rs = { version = "0.26.1", default_features = false }
const_format = "0.2.32"
clap = { version = "4.5.0", features = ["derive"] }
[build-dependencies]
-shadow-rs = "0.26.1"
+shadow-rs = { version = "0.26.1", default_features = false }

View File

@@ -172,6 +172,11 @@ LICENSE+=" Apache-2.0 MIT MIT-0 Unicode-DFS-2016 ZLIB"
SLOT="0"
KEYWORDS="~amd64"
PATCHES=(
# bug #932853
"${FILESDIR}/${P}-remove-libgit2-dep.patch"
)
QA_FLAGS_IGNORED="usr/bin/gping"
src_install() {