FreeBSD Bugzilla – Attachment 246529 Details for
Bug 266670
lang/rust: fix build with libressl 3.7+
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
rust-1.73.0.patch
rust-1.73.0.patch (text/plain), 1.34 KB, created by
takefu
on 2023-11-24 07:10:08 UTC
(
hide
)
Description:
rust-1.73.0.patch
Filename:
MIME Type:
Creator:
takefu
Created:
2023-11-24 07:10:08 UTC
Size:
1.34 KB
patch
obsolete
>diff -udprN /usr/ports/lang/rust/files/patch-libressl_fix ./files/patch-libressl_fix >--- /usr/ports/lang/rust/files/patch-libressl_fix 1970-01-01 00:00:00.000000000 +0000 >+++ ./files/patch-libressl_fix 2023-11-24 00:08:42.294496000 +0000 >@@ -0,0 +1,29 @@ >+--- vendor/openssl-sys/build/cfgs.rs.orig 2023-10-03 04:12:10 UTC >++++ vendor/openssl-sys/build/cfgs.rs >+@@ -53,6 +53,15 @@ pub fn get(openssl_version: Option<u64>, libressl_vers >+ if libressl_version >= 0x3_07_00_00_0 { >+ cfgs.push("libressl370"); >+ } >++ if libressl_version >= 0x3_08_00_00_0 { >++ cfgs.push("libressl380"); >++ } >++ if libressl_version >= 0x3_08_01_00_0 { >++ cfgs.push("libressl381"); >++ } >++ if libressl_version >= 0x3_08_02_00_0 { >++ cfgs.push("libressl382"); >++ } >+ } else { >+ let openssl_version = openssl_version.unwrap(); >+ >+--- vendor/openssl-sys/build/main.rs.orig 2023-10-03 04:12:10 UTC >++++ vendor/openssl-sys/build/main.rs >+@@ -274,6 +274,8 @@ See rust-openssl documentation for more information: >+ (3, 7, 1) => ('3', '7', '1'), >+ (3, 7, _) => ('3', '7', 'x'), >+ (3, 8, 0) => ('3', '8', '0'), >++ (3, 8, 1) => ('3', '8', '1'), >++ (3, 8, 2) => ('3', '8', '2'), >+ _ => version_error(), >+ }; >+
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 Diff
View Attachment As Raw
Flags:
takefu:
maintainer-approval+
Actions:
View
|
Diff
Attachments on
bug 266670
:
236898
|
237869
|
240956
|
241050
|
242702
|
243073
|
244725
|
246136
|
246529
|
246931
|
247053
|
247536
|
249461
|
251577
|
254621