From patchwork Wed Jan 2 09:32:51 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: qwendu X-Patchwork-Id: 1019943 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=busybox.net (client-ip=140.211.166.136; helo=silver.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="qbe/VoN0"; dkim-atps=neutral Received: from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 43V5TP30mDz9s9h for ; Wed, 2 Jan 2019 20:33:45 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 8238822849; Wed, 2 Jan 2019 09:33:42 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from silver.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id MxNbzlU3A0UL; Wed, 2 Jan 2019 09:33:41 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by silver.osuosl.org (Postfix) with ESMTP id A52A622803; Wed, 2 Jan 2019 09:33:41 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137]) by ash.osuosl.org (Postfix) with ESMTP id 728C71C0C57 for ; Wed, 2 Jan 2019 09:33:40 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 6F516853FF for ; Wed, 2 Jan 2019 09:33:40 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from fraxinus.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id TTA6v-6UyrhI for ; Wed, 2 Jan 2019 09:33:39 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-pl1-f194.google.com (mail-pl1-f194.google.com [209.85.214.194]) by fraxinus.osuosl.org (Postfix) with ESMTPS id C9B5F853D9 for ; Wed, 2 Jan 2019 09:33:39 +0000 (UTC) Received: by mail-pl1-f194.google.com with SMTP id gn14so14317218plb.10 for ; Wed, 02 Jan 2019 01:33:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=t10u3gd9GPGnwQqFJ4ajHaI81myoNKmwaUdmO4ckmqA=; b=qbe/VoN0jvQXw5lyw6HpLtTPSpeNk5eSt4GBjLIMZobhbrw/4AoScZi5xcw4mZeSx5 mI8HHlUPi5ZQey0lsMffSm4iyKQyCbHMzDIAqesTDwd41hgBbNSqSWCEDIB4ZcUJxQ7i ajR8xjCzre1wBW8uH++dUfhyrz7QYd5DtZloAJj88HYXHeckFKZ4VLhfMVS+e8QRYEV+ CWLLn5lqn8E3SXuBsDAkPGofDD0wbn+ygdlIl1m3LTdZUdvXXMb9wKKOm0pzvyVAp9wV Wm+aBnH8Uzdr+v0dNeNGrza/xV4l/G99XRpO2DDh9V/VNvcCIr88f0B9VEPERClCZgB/ gyyA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=t10u3gd9GPGnwQqFJ4ajHaI81myoNKmwaUdmO4ckmqA=; b=EG0UqQGgG4oIh4PhPuNlaoVCa/9RH4arTnSKzMYTczRN8nnJyMAUnYxwY7NVGsONJ4 9XLDLaZ7rS9bbAQhWIyWN+JBFnbwd0CnJrs4/sRoWCRdnI/tjnuAliHiIZ4qhYezsGJ+ 4KHH6nkhhNJS/QUTgETmRnuAeadAD+FtGGLTaBJM4iOsceHpOniXdSPfINMdCBRT2p1f qcZWVl6fZYG3Q1kjJdXt3Y9V+KWKCuADcKGf3zZx9J7rupIlJzr/QtrFMNwGB+0rx1EU OJbqrpfDhnd/22HLaGrJIO11Nfd1d+i3yaZYgikDpU/615+1CY4No4NR3YwEK8Z/rx76 XElA== X-Gm-Message-State: AJcUukfUIRxDUAYdF5sEehNLCF9YPO5b50chHknnLNnYDpKyQQ2xr/5T RLBBwRGnnLOKAlDqxeDdLs7WVnrE/SQ= X-Google-Smtp-Source: ALg8bN6kVe5qOosvyiQwTZkVc4ZjYfT+9pZNZnuVQ7Npx7zY7qji8r4MHgkBbKWLIQDuwwo74FhrQg== X-Received: by 2002:a17:902:28e6:: with SMTP id f93mr42267506plb.239.1546421619237; Wed, 02 Jan 2019 01:33:39 -0800 (PST) Received: from localhost.localdomain ([61.191.199.211]) by smtp.gmail.com with ESMTPSA id h128sm82636910pgc.15.2019.01.02.01.33.36 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 02 Jan 2019 01:33:38 -0800 (PST) From: qwendu To: buildroot@buildroot.org Date: Wed, 2 Jan 2019 17:32:51 +0800 Message-Id: <1546421571-18627-2-git-send-email-qwendu@gmail.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1546421571-18627-1-git-send-email-qwendu@gmail.com> References: <1546421571-18627-1-git-send-email-qwendu@gmail.com> Subject: [Buildroot] [PATCH] package/libwebsockets: bump to v3.1.0 X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: qwendu , thomas.petazzoni@bootlin.com MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" 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 --- 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;