From a3c7219c3e59a4ae7922fceac751f31733a74167 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Wed, 13 Apr 2016 19:42:37 +0200 Subject: curl: fix with latest libressl --- package/curl/patches/patch-lib_vtls_openssl_c | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 package/curl/patches/patch-lib_vtls_openssl_c (limited to 'package/curl/patches') diff --git a/package/curl/patches/patch-lib_vtls_openssl_c b/package/curl/patches/patch-lib_vtls_openssl_c new file mode 100644 index 000000000..7f76222e4 --- /dev/null +++ b/package/curl/patches/patch-lib_vtls_openssl_c @@ -0,0 +1,12 @@ +--- curl-7.48.0.orig/lib/vtls/openssl.c 2016-03-22 08:15:38.000000000 +0100 ++++ curl-7.48.0/lib/vtls/openssl.c 2016-04-10 10:45:18.637693023 +0200 +@@ -95,7 +95,8 @@ + + #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) + /* OpenSSL 1.1.0-pre4 removed the argument! */ + #define HAVE_ERR_REMOVE_THREAD_STATE_NOARG 1 + #endif -- cgit v1.2.3