package/lua-curl: bump to version 0.3.10

The hash of the license file is changed due to the following
modification:

-Copyright (c) 2014-2018 Alexey Melnichuk
+Copyright (c) 2014-2019 Alexey Melnichuk

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
Francois Perrad 2019-07-26 19:01:00 +02:00 committed by Thomas Petazzoni
parent d006737faa
commit 7b6907584e
3 changed files with 3 additions and 43 deletions

View File

@ -1,40 +0,0 @@
From 28ac0c5e642c9f7e3091a60268745f7cab4cc92b Mon Sep 17 00:00:00 2001
From: Francois Perrad <francois.perrad@gadz.org>
Date: Sat, 23 Feb 2019 15:23:26 +0100
Subject: [PATCH] add variant definition of lcurl_url_t
like in lceasy.h
Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
---
src/lcurlapi.h | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/Lua-cURLv3-0.3.9/src/lcurlapi.h b/Lua-cURLv3-0.3.9/src/lcurlapi.h
index 4dd4672..862c94f 100644
--- a/Lua-cURLv3-0.3.9/src/lcurlapi.h
+++ b/Lua-cURLv3-0.3.9/src/lcurlapi.h
@@ -19,11 +19,20 @@
#if LCURL_CURL_VER_GE(7,62,0)
+#if LCURL_CC_SUPPORT_FORWARD_TYPEDEF
typedef struct lcurl_url_tag {
CURLU *url;
int err_mode;
}lcurl_url_t;
+#else
+struct lcurl_url_tag {
+ CURLU *url;
+
+ int err_mode;
+};
+#define lcurl_url_t struct lcurl_url_tag
+#endif
int lcurl_url_create(lua_State *L, int error_mode);
--
2.17.1

View File

@ -1,3 +1,3 @@
# computed by luarocks/buildroot
sha256 ec761e800cec630ff0e78f100e1a61246c35823073014de65f1af0a85bfe1dc0 lua-curl-0.3.9-1.src.rock
sha256 264807cb89f960808fed1ef9922aed9d9f8437764e836d8e594e66db7be9c54c Lua-cURLv3-0.3.9/LICENSE
sha256 c548d2fc5891b8eda16ea056426584474532fc22dabe4d35b459770ffb340413 lua-curl-0.3.10-1.src.rock
sha256 3049265c5c05a5e2a40eb28dbf3fe46a51cd03e5f62cc1a419e352130e278e02 Lua-cURLv3-0.3.10/LICENSE

View File

@ -4,7 +4,7 @@
#
################################################################################
LUA_CURL_VERSION_UPSTREAM = 0.3.9
LUA_CURL_VERSION_UPSTREAM = 0.3.10
LUA_CURL_VERSION = $(LUA_CURL_VERSION_UPSTREAM)-1
LUA_CURL_SUBDIR = Lua-cURLv3-$(LUA_CURL_VERSION_UPSTREAM)
LUA_CURL_LICENSE = MIT