mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-07 06:40:06 +00:00
lang/rust: Fix build with LibreSSL 3.7.x
PR: 266670 Obtained from: OpenBSD Ports
This commit is contained in:
parent
c19607502a
commit
8bcbc1e32c
14
lang/rust/files/patch-vendor_openssl-sys_build_main.rs
Normal file
14
lang/rust/files/patch-vendor_openssl-sys_build_main.rs
Normal file
@ -0,0 +1,14 @@
|
||||
LibreSSL >3.7.1 isn't explicitly supported.
|
||||
|
||||
Index: vendor/openssl-sys/build/main.rs
|
||||
--- vendor/openssl-sys/build/main.rs.orig
|
||||
+++ vendor/openssl-sys/build/main.rs
|
||||
@@ -284,7 +284,7 @@ See rust-openssl documentation for more information:
|
||||
(3, 6, _) => ('3', '6', 'x'),
|
||||
(3, 7, 0) => ('3', '7', '0'),
|
||||
(3, 7, 1) => ('3', '7', '1'),
|
||||
- _ => version_error(),
|
||||
+ _ => ('3', '7', '1'),
|
||||
};
|
||||
|
||||
println!("cargo:libressl=true");
|
Loading…
Reference in New Issue
Block a user