From d24e90f4fc815c9e0ad4f59ae753cfc7060659fa Mon Sep 17 00:00:00 2001 From: Johannes Date: Thu, 1 Nov 2018 19:27:30 +0100 Subject: [PATCH] seafile-libclient: add patch for curl-7.62. --- srcpkgs/seafile-libclient/patches/curl-7.62.patch | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 srcpkgs/seafile-libclient/patches/curl-7.62.patch diff --git a/srcpkgs/seafile-libclient/patches/curl-7.62.patch b/srcpkgs/seafile-libclient/patches/curl-7.62.patch new file mode 100644 index 00000000000..9a820b04965 --- /dev/null +++ b/srcpkgs/seafile-libclient/patches/curl-7.62.patch @@ -0,0 +1,12 @@ +CURLE_SSL_CACERT is defined as CURLE_SSL_PEER_FAILED_VERIFICATION since curl-7.62 + +--- daemon/http-tx-mgr.c.orig 2018-11-01 18:51:10.712479238 +0100 ++++ daemon/http-tx-mgr.c 2018-11-01 18:52:36.115684514 +0100 +@@ -1136,7 +1136,6 @@ + case CURLE_SSL_CONNECT_ERROR: + case CURLE_PEER_FAILED_VERIFICATION: + case CURLE_SSL_CERTPROBLEM: +- case CURLE_SSL_CACERT: + case CURLE_SSL_CACERT_BADFILE: + case CURLE_SSL_ISSUER_ERROR: + return HTTP_TASK_ERR_SSL;