Fixed rust build
This commit is contained in:
parent
ebcdd18866
commit
fb8578593e
4 changed files with 73 additions and 3 deletions
14
pkgs/rust/openbsd-libressl.patch
Normal file
14
pkgs/rust/openbsd-libressl.patch
Normal file
|
@ -0,0 +1,14 @@
|
|||
$OpenBSD: patch-vendor_openssl-sys_build_main_rs,v 1.5 2020/11/05 09:21:34 semarie Exp $
|
||||
The LibreSSL version in -current isn't explicitly supported.
|
||||
Index: vendor/openssl-sys/build/main.rs
|
||||
--- a/vendor/openssl-sys/build/main.rs.orig
|
||||
+++ b/vendor/openssl-sys/build/main.rs
|
||||
@@ -221,7 +221,7 @@ See rust-openssl README for more information:
|
||||
(3, 1, 0) => ('3', '1', '0'),
|
||||
(3, 1, _) => ('3', '1', 'x'),
|
||||
(3, 2, 0) => ('3', '2', '0'),
|
||||
- _ => version_error(),
|
||||
+ _ => ('3', '2', '0'),
|
||||
};
|
||||
|
||||
println!("cargo:libressl=true");
|
Loading…
Add table
Add a link
Reference in a new issue