dev-util/cargo-0.30.0: patch for libressl 2.8.x
Closed this issue · 1 comments
CaseOf commented
Hello, here is a patch for dev-util-cargo-0.30.0 for a working build on portage tree's ebuild with libressl 2.8.x versions. Is it good enough for a pull request?
diff --git a/cargo_home/gentoo/openssl-sys-0.9.36/build/main.rs b/cargo_home/gentoo/openssl-sys-0.9.36/build/main.rs
index 4c615401..db755151 100644
--- a/cargo_home/gentoo/openssl-sys-0.9.36/build/main.rs
+++ b/cargo_home/gentoo/openssl-sys-0.9.36/build/main.rs
@@ -497,7 +497,10 @@ See rust-openssl README for more information:
(6, 2) => ('6', '2'),
(6, _) => ('6', 'x'),
(7, _) => ('7', 'x'),
- (8, 0) => ('8', 'x'),
+ (8, 0) => ('8', '0'),
+ (8, 1) => ('8', '1'),
+ (8, 2) => ('8', '2'),
+ (8, _) => ('8', 'x'),
_ => version_error(),
};
CaseOf commented
Ah i did not see that openssl-sys was updated to 0.9.39 in the new ebuild