aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTheo Buehler <tb@openbsd.org>2023-05-27 23:49:56 -0600
committerTheo Buehler <tb@openbsd.org>2023-05-27 23:49:56 -0600
commit4f93524b64cac07802334918fe9a29bf535b5f04 (patch)
treed1496b5341ee22de4575f0959ae7ed32ecde04b6
parent3e78c18646eb995e300694f9aac685213337da42 (diff)
downloadportable-4f93524b64cac07802334918fe9a29bf535b5f04.tar.gz
portable-4f93524b64cac07802334918fe9a29bf535b5f04.tar.bz2
portable-4f93524b64cac07802334918fe9a29bf535b5f04.zip
Update patch for rust-openssl version check
-rw-r--r--.github/rust-openssl.patch8
1 files changed, 4 insertions, 4 deletions
diff --git a/.github/rust-openssl.patch b/.github/rust-openssl.patch
index ab955be..f623720 100644
--- a/.github/rust-openssl.patch
+++ b/.github/rust-openssl.patch
@@ -1,13 +1,13 @@
1diff --git a/openssl-sys/build/main.rs b/openssl-sys/build/main.rs 1diff --git a/openssl-sys/build/main.rs b/openssl-sys/build/main.rs
2index ba149c17..5274dc44 100644 2index 1762068d..9e7295b0 100644
3--- a/openssl-sys/build/main.rs 3--- a/openssl-sys/build/main.rs
4+++ b/openssl-sys/build/main.rs 4+++ b/openssl-sys/build/main.rs
5@@ -285,7 +285,7 @@ See rust-openssl documentation for more information: 5@@ -285,7 +285,7 @@ See rust-openssl documentation for more information:
6 (3, 7, 0) => ('3', '7', '0'), 6 (3, 7, 0) => ('3', '7', '0'),
7 (3, 7, 1) => ('3', '7', '1'), 7 (3, 7, 1) => ('3', '7', '1'),
8 (3, 7, _) => ('3', '7', 'x'), 8 (3, 7, _) => ('3', '7', 'x'),
9- _ => version_error(), 9- (3, 8, 0) => ('3', '8', '0'),
10+ _ => ('3', '7', 'x'), 10+ (3, 8, _) => ('3', '8', '0'),
11 _ => version_error(),
11 }; 12 };
12 13
13 println!("cargo:libressl=true");