aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTheo Buehler <tb@openbsd.org>2023-03-19 23:19:00 -0600
committerTheo Buehler <tb@openbsd.org>2023-03-19 23:19:00 -0600
commit59261d04c5618711d63d457863a83e55f770efc1 (patch)
tree6451a46eceb3fc2cf748902baa0b2eba3fa92a11
parent6b3c90efa9debdcf16ebbda2cfe6b34ff5c34cf4 (diff)
downloadportable-59261d04c5618711d63d457863a83e55f770efc1.tar.gz
portable-59261d04c5618711d63d457863a83e55f770efc1.tar.bz2
portable-59261d04c5618711d63d457863a83e55f770efc1.zip
Adjust rust-openssl version check
-rw-r--r--.github/rust-openssl.patch9
1 files changed, 4 insertions, 5 deletions
diff --git a/.github/rust-openssl.patch b/.github/rust-openssl.patch
index 9ff4ea0..fac4ae6 100644
--- a/.github/rust-openssl.patch
+++ b/.github/rust-openssl.patch
@@ -1,12 +1,11 @@
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 cdea3eb4..b16ebecf 100644 2index 3357518f..f55b5def 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@@ -282,7 +282,7 @@ See rust-openssl documentation for more information: 5@@ -295,6 +295,7 @@ See rust-openssl documentation for more information:
6 (3, 5, _) => ('3', '5', 'x'),
7 (3, 6, 0) => ('3', '6', '0'),
8 (3, 6, _) => ('3', '6', 'x'), 6 (3, 6, _) => ('3', '6', 'x'),
9- (3, 7, 0) => ('3', '7', '0'), 7 (3, 7, 0) => ('3', '7', '0'),
8 (3, 7, 1) => ('3', '7', '1'),
10+ (3, 7, _) => ('3', '7', 'x'), 9+ (3, 7, _) => ('3', '7', 'x'),
11 _ => version_error(), 10 _ => version_error(),
12 }; 11 };