summaryrefslogtreecommitdiff
path: root/package/curl/patches
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2016-04-13 19:42:37 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2016-04-13 19:42:43 +0200
commita3c7219c3e59a4ae7922fceac751f31733a74167 (patch)
tree46fad9e761830dfb8954b1059b9cd9031048d807 /package/curl/patches
parent6a0a5b1b9540f9933c9c74e15d80b932041ee2de (diff)
curl: fix with latest libressl
Diffstat (limited to 'package/curl/patches')
-rw-r--r--package/curl/patches/patch-lib_vtls_openssl_c12
1 files changed, 12 insertions, 0 deletions
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