From 729e1557a09c19183dad48abccc6173cbbe0b08e Mon Sep 17 00:00:00 2001 From: Juan RP Date: Wed, 23 Mar 2016 10:09:25 +0100 Subject: [PATCH] curl: merge patch from @bagder to fix the build with libressl. --- srcpkgs/curl/patches/240cd84b49.diff | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 srcpkgs/curl/patches/240cd84b49.diff diff --git a/srcpkgs/curl/patches/240cd84b49.diff b/srcpkgs/curl/patches/240cd84b49.diff new file mode 100644 index 00000000000..afe8a7c0444 --- /dev/null +++ b/srcpkgs/curl/patches/240cd84b49.diff @@ -0,0 +1,13 @@ +--- lib/vtls/openssl.c ++++ lib/vtls/openssl.c +@@ -95,7 +95,9 @@ + + #if (OPENSSL_VERSION_NUMBER >= 0x10000000L) + #define HAVE_ERR_REMOVE_THREAD_STATE 1 +-#if (OPENSSL_VERSION_NUMBER >= 0x10100004L) ++#if (OPENSSL_VERSION_NUMBER >= 0x10100004L) && \ ++ !defined(LIBRESSL_VERSION_NUMBER) && \ ++ !defined(OPENSSL_IS_BORINGSSL) + /* OpenSSL 1.1.0-pre4 removed the argument! */ + #define HAVE_ERR_REMOVE_THREAD_STATE_NOARG 1 + #endif