FreeBSD Bugzilla – Attachment 214312 Details for
Bug 246332
[PATCH] lang/rust: does not build with LibreSSL 3.1
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
rust-libressl31.patch
file_246332.txt (text/plain), 1.08 KB, created by
Maciej Pasternacki
on 2020-05-09 14:55:05 UTC
(
hide
)
Description:
rust-libressl31.patch
Filename:
MIME Type:
Creator:
Maciej Pasternacki
Created:
2020-05-09 14:55:05 UTC
Size:
1.08 KB
patch
obsolete
>diff --git a/lang/rust/files/patch-vendor_openssl-sys_build_main.rs b/lang/rust/files/patch-vendor_openssl-sys_build_main.rs >new file mode 100644 >index 000000000000..9ad7c483db6a >--- /dev/null >+++ b/lang/rust/files/patch-vendor_openssl-sys_build_main.rs >@@ -0,0 +1,20 @@ >+--- vendor/openssl-sys/build/main.rs.orig 2020-05-09 12:59:59 UTC >++++ vendor/openssl-sys/build/main.rs >+@@ -204,6 +204,8 @@ See rust-openssl README for more information: >+ (3, 0, 0) => ('3', '0', '0'), >+ (3, 0, 1) => ('3', '0', '1'), >+ (3, 0, _) => ('3', '0', 'x'), >++ (3, 1, 0) => ('3', '1', '0'), >++ (3, 1, _) => ('3', '1', 'x'), >+ _ => version_error(), >+ }; >+ >+@@ -244,7 +246,7 @@ fn version_error() -> ! { >+ " >+ >+ This crate is only compatible with OpenSSL 1.0.1 through 1.1.1, or LibreSSL 2.5 >+-through 3.0.x, but a different version of OpenSSL was found. The build is now aborting >++through 3.1.x, but a different version of OpenSSL was found. The build is now aborting >+ due to this version mismatch. >+ >+ "
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 246332
: 214312