From 2b491044d0ec4bd623abb8fe4addc46fac6dc728 Mon Sep 17 00:00:00 2001 From: Imre Kaloz Date: Wed, 26 Mar 2014 14:26:49 +0000 Subject: [PATCH] [curl]: upgrade to 7.36.0 Signed-off-by: Imre Kaloz SVN-Revision: 40024 --- libs/curl/Makefile | 4 +-- libs/curl/patches/100-check_long_long.patch | 2 +- libs/curl/patches/300-polarssl_compat.patch | 36 --------------------- libs/curl/patches/400-hugehelp.patch | 13 ++++++++ 4 files changed, 16 insertions(+), 39 deletions(-) delete mode 100644 libs/curl/patches/300-polarssl_compat.patch create mode 100644 libs/curl/patches/400-hugehelp.patch diff --git a/libs/curl/Makefile b/libs/curl/Makefile index 4ec9fb4b73..d1a8fc5597 100644 --- a/libs/curl/Makefile +++ b/libs/curl/Makefile @@ -8,7 +8,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=curl -PKG_VERSION:=7.35.0 +PKG_VERSION:=7.36.0 PKG_RELEASE:=1 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2 @@ -18,7 +18,7 @@ PKG_SOURCE_URL:=http://curl.haxx.se/download/ \ ftp://ftp.planetmirror.com/pub/curl/ \ http://www.mirrormonster.com/curl/download/ \ http://curl.mirrors.cyberservers.net/download/ -PKG_MD5SUM:=c18fbdd031adb0529ae09fce399f2d10 +PKG_MD5SUM:=e6d1f9d1b59da5062109ffe14e0569a4 PKG_LICENSE:=MIT PKG_LICENSE_FILES:=COPYING diff --git a/libs/curl/patches/100-check_long_long.patch b/libs/curl/patches/100-check_long_long.patch index 863a66a0ff..1285fa9581 100644 --- a/libs/curl/patches/100-check_long_long.patch +++ b/libs/curl/patches/100-check_long_long.patch @@ -1,6 +1,6 @@ --- a/configure.ac +++ b/configure.ac -@@ -2898,6 +2898,7 @@ CURL_VERIFY_RUNTIMELIBS +@@ -2901,6 +2901,7 @@ CURL_VERIFY_RUNTIMELIBS AC_CHECK_SIZEOF(size_t) AC_CHECK_SIZEOF(long) diff --git a/libs/curl/patches/300-polarssl_compat.patch b/libs/curl/patches/300-polarssl_compat.patch deleted file mode 100644 index 47b600fa72..0000000000 --- a/libs/curl/patches/300-polarssl_compat.patch +++ /dev/null @@ -1,36 +0,0 @@ ---- a/lib/urldata.h -+++ b/lib/urldata.h -@@ -117,6 +117,9 @@ - #include - #include - #endif /* POLARSSL_VERSION_NUMBER<0x01010000 */ -+#if POLARSSL_VERSION_NUMBER>=0x01030000 -+#include -+#endif - #endif /* USE_POLARSSL */ - - #ifdef USE_CYASSL ---- a/lib/vtls/polarssl.c -+++ b/lib/vtls/polarssl.c -@@ -37,6 +37,10 @@ - #include - #include - -+#if POLARSSL_VERSION_NUMBER >= 0x01030000 -+#include -+#endif -+ - #if POLARSSL_VERSION_NUMBER >= 0x01000000 - #include - #endif /* POLARSSL_VERSION_NUMBER >= 0x01000000 */ -@@ -311,8 +315,8 @@ polarssl_connect_step1(struct connectdat - &connssl->crl, - conn->host.name); - -- ssl_set_own_cert(&connssl->ssl, -- &connssl->clicert, &connssl->rsa); -+ ssl_set_own_cert_rsa(&connssl->ssl, -+ &connssl->clicert, &connssl->rsa); - - if(!Curl_inet_pton(AF_INET, conn->host.name, &addr) && - #ifdef ENABLE_IPV6 diff --git a/libs/curl/patches/400-hugehelp.patch b/libs/curl/patches/400-hugehelp.patch new file mode 100644 index 0000000000..312792be98 --- /dev/null +++ b/libs/curl/patches/400-hugehelp.patch @@ -0,0 +1,13 @@ +--- a/src/tool_hugehelp.h ++++ b/src/tool_hugehelp.h +@@ -23,6 +23,10 @@ + ***************************************************************************/ + #include "tool_setup.h" + ++#ifdef USE_MANUAL + void hugehelp(void); ++#else ++#define hugehelp() Curl_nop_stmt ++#endif + + #endif /* HEADER_CURL_TOOL_HUGEHELP_H */ -- 2.30.2