* [Buildroot] [PATCH 1/1] package/lua-curl: Fix define for lcurl_mime_t for curl 7.56.0
@ 2018-12-25 1:31 Vadim Kochan
2018-12-30 16:42 ` Thomas Petazzoni
0 siblings, 1 reply; 2+ messages in thread
From: Vadim Kochan @ 2018-12-25 1:31 UTC (permalink / raw)
To: buildroot
Remove ';' at the end of #define for lcurl_mime_t, which looks like a
typo.
It fixes failing of lua-curl for build results:
http://autobuild.buildroot.net/results/f3c0c1aa8f860fddc1312823530ab369b198820c/config
Signed-off-by: Vadim Kochan <vadim4j@gmail.com>
---
...x-define-for-lcurl_mime_t-for-curl-7.56.0.patch | 29 ++++++++++++++++++++++
1 file changed, 29 insertions(+)
create mode 100644 package/lua-curl/0002-lceasy.h-Fix-define-for-lcurl_mime_t-for-curl-7.56.0.patch
diff --git a/package/lua-curl/0002-lceasy.h-Fix-define-for-lcurl_mime_t-for-curl-7.56.0.patch b/package/lua-curl/0002-lceasy.h-Fix-define-for-lcurl_mime_t-for-curl-7.56.0.patch
new file mode 100644
index 0000000000..f96ad88bf7
--- /dev/null
+++ b/package/lua-curl/0002-lceasy.h-Fix-define-for-lcurl_mime_t-for-curl-7.56.0.patch
@@ -0,0 +1,29 @@
+From 2e2bc60abaf426e32e667108b27805be0f6ffeb3 Mon Sep 17 00:00:00 2001
+From: Vadim Kochan <vadim4j@gmail.com>
+Date: Tue, 25 Dec 2018 03:17:29 +0200
+Subject: [PATCH] lceasy.h: Fix define for lcurl_mime_t for curl >= 7.56.0
+
+Remove ';' at the end of #define for lcurl_mime_t which looks like
+a typo if it was used via 'typedef'.
+
+Signed-off-by: Vadim Kochan <vadim4j@gmail.com>
+---
+ src/lceasy.h | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/src/lceasy.h b/src/lceasy.h
+index d6ccefd..7c95668 100644
+--- a/Lua-cURLv3-0.3.8/src/lceasy.h
++++ b/Lua-cURLv3-0.3.8/src/lceasy.h
+@@ -47,7 +47,7 @@ struct lcurl_multi_tag;
+ #define lcurl_multi_t struct lcurl_multi_tag
+ #if LCURL_CURL_VER_GE(7,56,0)
+ struct lcurl_mime_tag;
+-#define lcurl_mime_t struct lcurl_mime_tag;
++#define lcurl_mime_t struct lcurl_mime_tag
+ #endif
+ #endif
+
+--
+2.14.1
+
--
2.14.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [Buildroot] [PATCH 1/1] package/lua-curl: Fix define for lcurl_mime_t for curl 7.56.0
2018-12-25 1:31 [Buildroot] [PATCH 1/1] package/lua-curl: Fix define for lcurl_mime_t for curl 7.56.0 Vadim Kochan
@ 2018-12-30 16:42 ` Thomas Petazzoni
0 siblings, 0 replies; 2+ messages in thread
From: Thomas Petazzoni @ 2018-12-30 16:42 UTC (permalink / raw)
To: buildroot
Hello,
On Tue, 25 Dec 2018 03:31:25 +0200, Vadim Kochan wrote:
> Remove ';' at the end of #define for lcurl_mime_t, which looks like a
> typo.
>
> It fixes failing of lua-curl for build results:
> http://autobuild.buildroot.net/results/f3c0c1aa8f860fddc1312823530ab369b198820c/config
>
> Signed-off-by: Vadim Kochan <vadim4j@gmail.com>
> ---
> ...x-define-for-lcurl_mime_t-for-curl-7.56.0.patch | 29 ++++++++++++++++++++++
> 1 file changed, 29 insertions(+)
> create mode 100644 package/lua-curl/0002-lceasy.h-Fix-define-for-lcurl_mime_t-for-curl-7.56.0.patch
Thanks, I've applied, but after replacing your patch by a backport of
the exact same patch from upstream. Also, upstream has a newer 0.3.9
version available, which has this fix included.
Thanks,
Thomas
--
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2018-12-30 16:42 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-12-25 1:31 [Buildroot] [PATCH 1/1] package/lua-curl: Fix define for lcurl_mime_t for curl 7.56.0 Vadim Kochan
2018-12-30 16:42 ` Thomas Petazzoni
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox