From de1d395e86758dfafff8994ae977383f97d5ec9c Mon Sep 17 00:00:00 2001 From: Alessio Sergi Date: Thu, 3 May 2018 18:45:23 +0200 Subject: [PATCH] seafile-client-qt: libressl 2.7 fix --- srcpkgs/seafile-client-qt/patches/libressl.patch | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 srcpkgs/seafile-client-qt/patches/libressl.patch diff --git a/srcpkgs/seafile-client-qt/patches/libressl.patch b/srcpkgs/seafile-client-qt/patches/libressl.patch new file mode 100644 index 00000000000..1774719fa34 --- /dev/null +++ b/srcpkgs/seafile-client-qt/patches/libressl.patch @@ -0,0 +1,11 @@ +--- src/utils/rsa.cpp.orig ++++ src/utils/rsa.cpp +@@ -13,7 +13,7 @@ + + /* Forward compatibility functions if libssl < 1.1.0. */ + +-#if OPENSSL_VERSION_NUMBER < 0x10100000L || defined(LIBRESSL_VERSION_NUMBER) ++#if OPENSSL_VERSION_NUMBER < 0x10100000L || (defined(LIBRESSL_VERSION_NUMBER) && LIBRESSL_VERSION_NUMBER < 0x2070000fL) + + int RSA_set0_key(RSA *r, BIGNUM *n, BIGNUM *e, BIGNUM *d) + {