1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-25 20:25:28 +03:00
aports/testing/ouch/use-system-libs.patch
Hoang Nguyen 0b70789c0d testing/ouch: add completion and doc subpackages
Link against system-provided compression libraries.
2023-04-22 16:40:35 +00:00

34 lines
1,018 B
Diff

diff --git a/Cargo.lock b/Cargo.lock
index 10b07a7..5008718 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -573,7 +573,6 @@ dependencies = [
"xz2",
"zip",
"zstd",
- "zstd-sys",
]
[[package]]
@@ -1178,4 +1177,5 @@ checksum = "9fd07cbbc53846d9145dbffdf6dd09a7a0aa52be46741825f5c97bdd4f73f12b"
dependencies = [
"cc",
"libc",
+ "pkg-config",
]
diff --git a/Cargo.toml b/Cargo.toml
index 3ef8fa0..1249dbd 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -30,10 +30,7 @@ tempfile = "3.3.0"
ubyte = { version = "0.10.3", default-features = false }
xz2 = "0.1.7"
zip = { version = "0.6.3", default-features = false, features = ["time"] }
-zstd = { version = "0.12.1", default-features = false }
-# zstd-sys > 2.0.1 unconditionally enables thin LTO and causes CI to fail
-# https://github.com/gyscos/zstd-rs/pull/155
-zstd-sys = "=2.0.1"
+zstd = { version = "0.12.1", default-features = false, features = ["pkg-config"] }
[target.'cfg(unix)'.dependencies]
time = { version = "0.3.17", default-features = false }