diff options
Diffstat (limited to 'main/qt5-qtbase/hack-openssl_test.patch')
-rw-r--r-- | main/qt5-qtbase/hack-openssl_test.patch | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/main/qt5-qtbase/hack-openssl_test.patch b/main/qt5-qtbase/hack-openssl_test.patch new file mode 100644 index 0000000000..fdf31b45df --- /dev/null +++ b/main/qt5-qtbase/hack-openssl_test.patch @@ -0,0 +1,11 @@ +--- qtbase/config.tests/unix/openssl/openssl.cpp 2016-09-16 07:49:42.000000000 +0200 ++++ qtbase/config.tests/unix/openssl/openssl.cpp 2016-10-21 19:05:10.099362793 +0200 +@@ -39,7 +39,7 @@ + + #include <openssl/ssl.h> + +-#if OPENSSL_VERSION_NUMBER-0 >= 0x10002000L && !defined(OPENSSL_NO_EC) && !defined(SSL_CTRL_SET_CURVES) ++#if (OPENSSL_VERSION_NUMBER-0 >= 0x10002000L) && !defined(LIBRESSL_VERSION_NUMBER) && !defined(OPENSSL_NO_EC) && !defined(SSL_CTRL_SET_CURVES) + # error "OpenSSL was reported as >= 1.0.2 but is missing required features, possibly it's libressl which is unsupported" + #endif + |