aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakub Lach <jakub_lach@mailplus.pl>2025-11-11 12:10:38 +0000
committerPo-Chuan Hsieh <sunpoet@FreeBSD.org>2025-11-11 12:10:38 +0000
commitdbbb8dec1155acc6d686976d80222bdabc78c8de (patch)
tree8bc3fd076f35c796e3997ced9fda8252bcceee8d
parente84914ba381a9cf1308170d07966b5394be788ac (diff)
security/py-cryptography: Fix build with LibreSSL 4.2.*
-rw-r--r--security/py-cryptography/files/patch-libressl12
1 files changed, 12 insertions, 0 deletions
diff --git a/security/py-cryptography/files/patch-libressl b/security/py-cryptography/files/patch-libressl
new file mode 100644
index 000000000000..619f0e53e8dd
--- /dev/null
+++ b/security/py-cryptography/files/patch-libressl
@@ -0,0 +1,12 @@
+Obtained from: https://github.com/rust-openssl/rust-openssl/commit/12800873a0255b61a9e08a4d47095b1b2529835c
+
+--- cargo-crates/openssl-sys-0.9.108/build/main.rs.orig 2006-07-24 01:21:28 UTC
++++ cargo-crates/openssl-sys-0.9.108/build/main.rs
+@@ -451,6 +451,7 @@ See rust-openssl documentation for more information:
+ (4, 0, _) => ('4', '0', 'x'),
+ (4, 1, 0) => ('4', '1', '0'),
+ (4, 1, _) => ('4', '1', 'x'),
++ (4, 2, _) => ('4', '2', 'x'),
+ _ => version_error(),
+ };
+