app-misc/onefetch: add 2.18.0

Signed-off-by: Lucio Sauer <watermanpaint@posteo.net>
This commit is contained in:
Lucio Sauer
2023-06-21 18:00:10 +02:00
parent f26005c72a
commit ea446a969a
3 changed files with 588 additions and 0 deletions

View File

@@ -0,0 +1,31 @@
Force usage of pkg-config to probe for system library.
If unset, zstd-sys builds libzstd from source and statically links it.
Beginning with zstd-sys-2.0.7 you may alternatively
export ZSTD_SYS_USE_PKG_CONFIG=1 to unbundle the library.
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -2534,6 +2534,7 @@ dependencies = [
"typetag",
"winres",
"yaml-rust",
+ "zstd",
]
[[package]]
@@ -4113,4 +4114,5 @@ checksum = "9fd07cbbc53846d9145dbffdf6dd09a7a0aa52be46741825f5c97bdd4f73f12b"
dependencies = [
"cc",
"libc",
+ "pkg-config",
]
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -51,6 +51,7 @@ tokei = "12.1.2"
typetag = "0.2"
yaml-rust = "0.4.5"
parking_lot = "0.12"
+zstd = { version="*", features = ["pkg-config"] }
[dev-dependencies]
criterion = "0.5.1"