commit:     e50c82b38b9f4b9f1e04c709cfd0448d04018926
Author:     Mike Skec <skec <AT> protonmail <DOT> ch>
AuthorDate: Tue Mar 15 00:48:35 2022 +0000
Commit:     Quentin Retornaz <gentoo <AT> retornaz <DOT> com>
CommitDate: Tue Mar 15 20:43:40 2022 +0000
URL:        https://gitweb.gentoo.org/repo/proj/libressl.git/commit/?id=e50c82b3

dev-python/m2crypto: fix LibreSSL 3.5.0 build

Signed-off-by: Mike Skec <skec <AT> protonmail.ch>
Closes: https://github.com/gentoo/libressl/pull/385
Signed-off-by: Quentin Retornaz <gentoo <AT> retornaz.com>

 dev-python/m2crypto/files/m2crypto-libressl-0.38.0.patch | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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 e3f67e3..e125fc6 100644
--- a/dev-python/m2crypto/files/m2crypto-libressl-0.38.0.patch
+++ b/dev-python/m2crypto/files/m2crypto-libressl-0.38.0.patch
@@ -162,7 +162,7 @@ Index: SWIG/_bio.i
  /* Macros for things not defined before 1.1.0 */
 -#if OPENSSL_VERSION_NUMBER < 0x10100000L
 -static BIO_METHOD *
-+#if OPENSSL_VERSION_NUMBER < 0x10100000L || defined(LIBRESSL_VERSION_NUMBER)
++#if OPENSSL_VERSION_NUMBER < 0x10100000L || (defined(LIBRESSL_VERSION_NUMBER) 
&& LIBRESSL_VERSION_NUMBER < 0x3050000fL)
 +
 +#if !defined(LIBRESSL_VERSION_NUMBER)
 +static

Reply via email to