mirror of
https://github.com/outbackdingo/ports.git
synced 2026-01-27 10:20:12 +00:00
Make the patch functional
I forgot to delete that lol
This commit is contained in:
@@ -1,33 +1,29 @@
|
||||
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(),
|
||||
+ };
|
||||
+
|
||||
--- ./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(),
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user