diff options
Diffstat (limited to 'dev-util/cargo-audit/files/0.13.1-libressl.patch')
-rw-r--r-- | dev-util/cargo-audit/files/0.13.1-libressl.patch | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/dev-util/cargo-audit/files/0.13.1-libressl.patch b/dev-util/cargo-audit/files/0.13.1-libressl.patch new file mode 100644 index 000000000000..84762ad45b15 --- /dev/null +++ b/dev-util/cargo-audit/files/0.13.1-libressl.patch @@ -0,0 +1,35 @@ +From 0493f57a9878fd4d92fc419358173fd31b95bda8 Mon Sep 17 00:00:00 2001 +From: Georgy Yakovlev <gyakovlev@gentoo.org> +Date: Sun, 11 Oct 2020 22:09:39 -0700 +Subject: [PATCH] Support LibreSSL 3.2.x + +Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org> +--- + vendor/openssl-sys/build/main.rs | 4 ++-- + 1 files changed, 2 insertions(+), 2 deletions(-) + +diff --git a/vendor/openssl-sys/build/main.rs b/vendor/openssl-sys/build/main.rs +index 49f26d2..2de8ea5 100644 +--- a/vendor/openssl-sys/build/main.rs ++++ b/vendor/openssl-sys/build/main.rs +@@ -220,7 +220,7 @@ See rust-openssl README for more information: + (3, 0, _) => ('3', '0', 'x'), + (3, 1, 0) => ('3', '1', '0'), + (3, 1, _) => ('3', '1', 'x'), +- (3, 2, 0) => ('3', '2', '0'), ++ (3, 2, _) => ('3', '2', 'x'), + _ => version_error(), + }; + +@@ -261,7 +261,7 @@ fn version_error() -> ! { + " + + This crate is only compatible with OpenSSL 1.0.1 through 1.1.1, or LibreSSL 2.5 +-through 3.2.0, but a different version of OpenSSL was found. The build is now aborting ++through 3.2.x, but a different version of OpenSSL was found. The build is now aborting + due to this version mismatch. + + " +-- +2.28.0 + |