aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authororbea <orbea@riseup.net>2024-08-15 11:40:43 -0700
committerorbea <orbea@riseup.net>2024-08-15 11:40:43 -0700
commit3145be816a3f308d0749166b7f22c9db17b33bc6 (patch)
treeafacf981338828fb141f040279592f4cf3559f90
parentdev-python/cryptography: stabilize 43.0.0 (diff)
downloadlibressl-3145be816a3f308d0749166b7f22c9db17b33bc6.tar.gz
libressl-3145be816a3f308d0749166b7f22c9db17b33bc6.tar.bz2
libressl-3145be816a3f308d0749166b7f22c9db17b33bc6.zip
dev-python/m2crypto: fix build with LibreSSL
Signed-off-by: orbea <orbea@riseup.net>
-rw-r--r--dev-python/m2crypto/files/m2crypto-libressl-0.38.0.patch16
1 files changed, 0 insertions, 16 deletions
diff --git a/dev-python/m2crypto/files/m2crypto-libressl-0.38.0.patch b/dev-python/m2crypto/files/m2crypto-libressl-0.38.0.patch
index e125fc6..7c33f57 100644
--- a/dev-python/m2crypto/files/m2crypto-libressl-0.38.0.patch
+++ b/dev-python/m2crypto/files/m2crypto-libressl-0.38.0.patch
@@ -81,22 +81,6 @@ Index: src/SWIG/_lib11_compat.i
#include <openssl/bn.h>
#ifndef BN_F_BN_GENCB_NEW
-$OpenBSD: patch-src_SWIG__lib_i,v 1.2 2021/10/07 22:32:54 tb Exp $
-
-Fix build with LibreSSL
-
-Index: src/SWIG/_lib.i
---- a/src/SWIG/_lib.i.orig
-+++ b/src/SWIG/_lib.i
-@@ -21,7 +21,7 @@
-
- %{
- /* OpenSSL 1.0.2 copmatbility shim */
--#if OPENSSL_VERSION_NUMBER < 0x10002000L
-+#if OPENSSL_VERSION_NUMBER < 0x10002000L || defined(LIBRESSL_VERSION_NUMBER)
- typedef void (*OPENSSL_sk_freefunc)(void *);
- typedef void *(*OPENSSL_sk_copyfunc)(const void *);
- typedef struct stack_st OPENSSL_STACK;
$OpenBSD: patch-src_SWIG__threads_i,v 1.1 2021/07/24 20:02:04 sthen Exp $
Fix build with LibreSSL