python-dataproperty: bump version to 0.17.0
[buildroot-gz.git] / package / kodi / 0010-curl-support-version-7.5.0-and-upwards.patch
blobb6743ae5324204c26cffcede9060924b14e4654f
1 From 7d3c70b163bc67aeb1fdef8fd2347b39f311c584 Mon Sep 17 00:00:00 2001
2 From: fritsch <peter.fruehberger@gmail.com>
3 Date: Sun, 24 Jul 2016 20:24:07 +0200
4 Subject: [PATCH] Curl: Adjust multi_cleanup method which returns CURLMcode
6 Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
7 (backported from upstream commit:
8 https://github.com/xbmc/xbmc/commit/2a8d3e7f6cffea52740b8392a3be8ec251d5ff70)
9 ---
10 xbmc/filesystem/DllLibCurl.h | 4 ++--
11 1 file changed, 2 insertions(+), 2 deletions(-)
13 diff --git a/xbmc/filesystem/DllLibCurl.h b/xbmc/filesystem/DllLibCurl.h
14 index db97f92..9e78a91 100644
15 --- a/xbmc/filesystem/DllLibCurl.h
16 +++ b/xbmc/filesystem/DllLibCurl.h
17 @@ -52,7 +52,7 @@ namespace XCURL
18 virtual CURLMcode multi_fdset(CURLM *multi_handle, fd_set *read_fd_set, fd_set *write_fd_set, fd_set *exc_fd_set, int *max_fd)=0;
19 virtual CURLMcode multi_timeout(CURLM *multi_handle, long *timeout)=0;
20 virtual CURLMsg* multi_info_read(CURLM *multi_handle, int *msgs_in_queue)=0;
21 - virtual void multi_cleanup(CURL_HANDLE * handle )=0;
22 + virtual CURLMcode multi_cleanup(CURLM * handle )=0;
23 virtual struct curl_slist* slist_append(struct curl_slist *, const char *)=0;
24 virtual void slist_free_all(struct curl_slist *)=0;
26 @@ -77,7 +77,7 @@ namespace XCURL
27 DEFINE_METHOD5(CURLMcode, multi_fdset, (CURLM *p1, fd_set *p2, fd_set *p3, fd_set *p4, int *p5))
28 DEFINE_METHOD2(CURLMcode, multi_timeout, (CURLM *p1, long *p2))
29 DEFINE_METHOD2(CURLMsg*, multi_info_read, (CURLM *p1, int *p2))
30 - DEFINE_METHOD1(void, multi_cleanup, (CURLM *p1))
31 + DEFINE_METHOD1(CURLMcode, multi_cleanup, (CURLM *p1))
32 DEFINE_METHOD2(struct curl_slist*, slist_append, (struct curl_slist * p1, const char * p2))
33 DEFINE_METHOD1(void, slist_free_all, (struct curl_slist * p1))
34 DEFINE_METHOD1(const char *, easy_strerror, (CURLcode p1))