From: qwendu <qwendu@gmail.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH] package/libwebsockets: bump to v3.1.0
Date: Wed, 2 Jan 2019 17:32:51 +0800 [thread overview]
Message-ID: <1546421571-18627-2-git-send-email-qwendu@gmail.com> (raw)
In-Reply-To: <1546421571-18627-1-git-send-email-qwendu@gmail.com>
this patch fixed the following error:
...
output/build/libwebsockets-v3.1.0/lib/event-libs/libuv/libuv.c: In function 'elops_destroy_context1_uv':
output/build/libwebsockets-v3.1.0/lib/event-libs/libuv/libuv.c:519:7: error: 'm' may be used uninitialized in this function [-Werror=maybe-uninitialized]
if (m)
^
Signed-off-by: qwendu <qwendu@gmail.com>
---
package/libwebsockets/libuv-uninitialized.patch | 13 +++++++++++++
1 file changed, 13 insertions(+)
create mode 100644 package/libwebsockets/libuv-uninitialized.patch
diff --git a/package/libwebsockets/libuv-uninitialized.patch b/package/libwebsockets/libuv-uninitialized.patch
new file mode 100644
index 0000000..319afee
--- /dev/null
+++ b/package/libwebsockets/libuv-uninitialized.patch
@@ -0,0 +1,13 @@
+diff --git a/lib/event-libs/libuv/libuv.c b/lib/event-libs/libuv/libuv.c
+index 39363f1..746d6ba 100644
+--- a/lib/event-libs/libuv/libuv.c
++++ b/lib/event-libs/libuv/libuv.c
+@@ -503,7 +503,7 @@ static int
+ elops_destroy_context1_uv(struct lws_context *context)
+ {
+ struct lws_context_per_thread *pt;
+- int n, m;
++ int n, m=0;
+
+ for (n = 0; n < context->count_threads; n++) {
+ int budget = 10000;
--
2.7.4
next prev parent reply other threads:[~2019-01-02 9:32 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-01-02 9:32 [Buildroot] [PATCH] package/libwebsockets: bump to v3.1.0 qwendu
2019-01-02 9:32 ` qwendu [this message]
2019-02-06 10:28 ` Thomas Petazzoni
2019-02-06 10:28 ` Thomas Petazzoni
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1546421571-18627-2-git-send-email-qwendu@gmail.com \
--to=qwendu@gmail.com \
--cc=buildroot@busybox.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox