From patchwork Wed Sep 9 18:26:39 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabrice Fontaine X-Patchwork-Id: 1360932 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=busybox.net (client-ip=140.211.166.138; helo=whitealder.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.a=rsa-sha256 header.s=20161025 header.b=nqiloB0z; dkim-atps=neutral Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4Bmr8L6mTPz9sTH for ; Thu, 10 Sep 2020 04:26:58 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 4499A86E8F; Wed, 9 Sep 2020 18:26:56 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 4jLf3UDDdEcX; Wed, 9 Sep 2020 18:26:54 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by whitealder.osuosl.org (Postfix) with ESMTP id 75F2686CBD; Wed, 9 Sep 2020 18:26:54 +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 025E61BF3D5 for ; Wed, 9 Sep 2020 18:26:54 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id F322585E9B for ; Wed, 9 Sep 2020 18:26:53 +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 gfm8qbSMU7Iv for ; Wed, 9 Sep 2020 18:26:53 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wr1-f65.google.com (mail-wr1-f65.google.com [209.85.221.65]) by fraxinus.osuosl.org (Postfix) with ESMTPS id 3C41185D6E for ; Wed, 9 Sep 2020 18:26:53 +0000 (UTC) Received: by mail-wr1-f65.google.com with SMTP id a17so4006085wrn.6 for ; Wed, 09 Sep 2020 11:26:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=LIykgOZB4x44wb/8adKMyJRlg1a09Qwemmab7dw0oPE=; b=nqiloB0zickkJ5NvwyUkSY2Hr+KRlrmE3JDtHmyVD29zvrsfb+Cr1wr961dKL2ZNJl ooj+5VzeTGxRy3wco0+7cMdo8f5wrTEJbxa3wtKNaYy06sD21G81bSgRDXwLpoECV74p 23LAY1g/0WH8Gzi+ewLRyEuBZbPsTgp3xQcWY6x8ObU93M2SObQqi2dWRiBCJ4xFlZCC 36bm2sYd15y4QlL8C+zJtk46q5OQEeM7Ma9GCCBXnbUbGXtZdqF6adRlGcykrWzGOTuG /AY9f3UgoQk6mB/bR488CqumBBgv/jDe0Q8FsIFQfEN0XT9pvrImPnDBIzdToSJy0IfN P2FQ== 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:mime-version :content-transfer-encoding; bh=LIykgOZB4x44wb/8adKMyJRlg1a09Qwemmab7dw0oPE=; b=gVnPQOXarrbvlQYf4gAPETMuhixYyMiCZEbWsoTFQobjNCch/j8AmoIrpVq6wzQ+fN fVEmvd3PL5V/jVuS16OYFRwiPWF4ME1bKyGr1KihTUshNjLiUyBmxrz6T7B8PaiECxjk G84R7EQb2qMQOwFXyItfmpk5P15Y+Yac+GANJRlbecxAszaInzscqXeFR3jrI+WRtCdK hJ79HiRat7M3Kb4Ssv85Psx5CSBenBPbWZG1o3tPRwS3R1aFlO/R73jgI0mCDII0+X/t h9B/qqXdOVQL2uEqexfOiQEJ8VWCem9FjVh/fT7FXNa+ZkglCh/V0JBEiVit6yr4dDWT rmtg== X-Gm-Message-State: AOAM531hjkNlBlZV0MHUPXHlvGm1SCXv1r3JB4zBCdDeqAQBbzcAvbJl uMqM2BSuVIYhqtQpuEptRWFeHcwk69k= X-Google-Smtp-Source: ABdhPJxb87Mt9jE17y6WtNEVDKdLZE/7zbW96LYrvMcofwZHQrFL8CFguKLEpkLqXpYb1RCsN0pskA== X-Received: by 2002:a5d:430d:: with SMTP id h13mr5446300wrq.41.1599676011468; Wed, 09 Sep 2020 11:26:51 -0700 (PDT) Received: from kali.home (2a01cb0881b76d00c2afd0dfa851d2b9.ipv6.abo.wanadoo.fr. [2a01:cb08:81b7:6d00:c2af:d0df:a851:d2b9]) by smtp.gmail.com with ESMTPSA id k12sm5245277wrn.39.2020.09.09.11.26.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 09 Sep 2020 11:26:50 -0700 (PDT) From: Fabrice Fontaine To: buildroot@buildroot.org Date: Wed, 9 Sep 2020 20:26:39 +0200 Message-Id: <20200909182640.679929-1-fontaine.fabrice@gmail.com> X-Mailer: git-send-email 2.28.0 MIME-Version: 1.0 Subject: [Buildroot] [PATCH 1/2] package/ympd: renumber patch 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: Eric Limpens , Fabrice Fontaine Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" Signed-off-by: Fabrice Fontaine --- .../{0002-only-c-language.patch => 0001-only-c-language.patch} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename package/ympd/{0002-only-c-language.patch => 0001-only-c-language.patch} (100%) diff --git a/package/ympd/0002-only-c-language.patch b/package/ympd/0001-only-c-language.patch similarity index 100% rename from package/ympd/0002-only-c-language.patch rename to package/ympd/0001-only-c-language.patch From patchwork Wed Sep 9 18:26:40 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabrice Fontaine X-Patchwork-Id: 1360933 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) 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.a=rsa-sha256 header.s=20161025 header.b=U0xOXdMI; 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 4Bmr8R63p8z9sTH for ; Thu, 10 Sep 2020 04:27:03 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 944EF2291D; Wed, 9 Sep 2020 18:27:00 +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 1-F3H40IOOZ4; Wed, 9 Sep 2020 18:26:58 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by silver.osuosl.org (Postfix) with ESMTP id A857220378; Wed, 9 Sep 2020 18:26:58 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id 8081E1BF3D5 for ; Wed, 9 Sep 2020 18:26:57 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 7824F86AEF for ; Wed, 9 Sep 2020 18:26:57 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 4P0mxpNFUHW8 for ; Wed, 9 Sep 2020 18:26:56 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wr1-f54.google.com (mail-wr1-f54.google.com [209.85.221.54]) by whitealder.osuosl.org (Postfix) with ESMTPS id 753558713A for ; Wed, 9 Sep 2020 18:26:56 +0000 (UTC) Received: by mail-wr1-f54.google.com with SMTP id o5so3958792wrn.13 for ; Wed, 09 Sep 2020 11:26:56 -0700 (PDT) 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 :mime-version:content-transfer-encoding; bh=o242zOjhyFZooVRh21OCxflndC0hs5hPVD1DNeGmFTQ=; b=U0xOXdMIC8wPe8KqtE5NKlNLIdE9x29aWjng/LhshcyYjQscAEY9tB2JmUex14S7Ne wUdOYCWBsByFhM/w6hiK5rhpHszGrE7qP7kzdeFaK9/P3/q51uQ3BOfJOJvjRGvqe1DR opYKkDdAgwg3Bj+BU4EDJdJ+8iPeBCc/FyAX0WJzYObxMtCdrVIB/75H7fIZSgo5lbId 33jicp0kQ1yJduK6VsrJOMNXsoqyAPWBcV5nV9XO7yJiwNyODqSl1lAwHlMqtRr2edCl 6R2QJTmx0JgJZLQnyTqvdpAzZydMCfy5VCO9JNOc15fDsE1g5yy99W+U2K2EhuW8y1kT yTpA== 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:mime-version:content-transfer-encoding; bh=o242zOjhyFZooVRh21OCxflndC0hs5hPVD1DNeGmFTQ=; b=lIZ8YP7W3wMsJIhX8Tt7BTM5uxXFyv5NB7Gr+BfZ62V9clkh3mRht6gCJRQz/pbPcH KGO1jyVhWmKbYbvvgYMfT6bT6rOr/B8VMdQ6Ab0zMekgiRgoBfCnaKwHW/4Djr7VqMvH 5nltO7DksTO8Jt0ocrRIg/yGgP1rsYS0bBw1AlXbMFsX7TKSBMB1Ep31cp+PVR+XEQAq AgdojLlBkLZCbYJQD3FvgzAqyK2TnUCOPw2E6pmTLcrpF80lg9XrbCrIyzuC/RWZK2+3 reDW2pH4sVuun3Gfdy8y1T5xtJuGA9EakHSCey35ZnABck03+5L0x/JdYyjtyXYTMAxK CHEw== X-Gm-Message-State: AOAM5301eQQAgkpFLhODlwYToLuC/1OTNDJ7JY99+ZKRFHEcHwGYZYdl HwbmIHWZF/Im1cJrJALE3E+61aqRK/s= X-Google-Smtp-Source: ABdhPJzLEnkgkqLOd0Fs/MNBmYdoWIDqevAJgs+sClZP0qEA9cBsL4iDcVxXCgbaO1WAWaH8oC8DZA== X-Received: by 2002:a05:6000:11c5:: with SMTP id i5mr5411762wrx.18.1599676014592; Wed, 09 Sep 2020 11:26:54 -0700 (PDT) Received: from kali.home (2a01cb0881b76d00c2afd0dfa851d2b9.ipv6.abo.wanadoo.fr. [2a01:cb08:81b7:6d00:c2af:d0df:a851:d2b9]) by smtp.gmail.com with ESMTPSA id k12sm5245277wrn.39.2020.09.09.11.26.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 09 Sep 2020 11:26:54 -0700 (PDT) From: Fabrice Fontaine To: buildroot@buildroot.org Date: Wed, 9 Sep 2020 20:26:40 +0200 Message-Id: <20200909182640.679929-2-fontaine.fabrice@gmail.com> X-Mailer: git-send-email 2.28.0 In-Reply-To: <20200909182640.679929-1-fontaine.fabrice@gmail.com> References: <20200909182640.679929-1-fontaine.fabrice@gmail.com> MIME-Version: 1.0 Subject: [Buildroot] [PATCH 2/2] package/ympd: fix build with gcc 10 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: Eric Limpens , Fabrice Fontaine Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" Fixes: - http://autobuild.buildroot.org/results/ea4b96ba8d4a398515ed349e8304a656b684f718 Signed-off-by: Fabrice Fontaine --- .../0002-added-forward-declarations.patch | 43 +++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 package/ympd/0002-added-forward-declarations.patch diff --git a/package/ympd/0002-added-forward-declarations.patch b/package/ympd/0002-added-forward-declarations.patch new file mode 100644 index 0000000000..90ee1eae68 --- /dev/null +++ b/package/ympd/0002-added-forward-declarations.patch @@ -0,0 +1,43 @@ +From 2268e0f0f372a61827b912155a1796490968b3ff Mon Sep 17 00:00:00 2001 +From: SuperBFG7 +Date: Tue, 2 Jun 2020 12:41:52 +0200 +Subject: [PATCH] added forward declarations + + +[Retrieved (and slightly updated to remove update of dirble_api_token) +from: +https://github.com/notandy/ympd/pull/191/commits/2268e0f0f372a61827b912155a1796490968b3ff] +Signed-off-by: Fabrice Fontaine +--- + src/mpd_client.c | 2 ++ + src/mpd_client.h | 6 ++++-- + 2 files changed, 6 insertions(+), 2 deletions(-) + +diff --git a/src/mpd_client.c b/src/mpd_client.c +index 2911e461..9f003ab0 100644 +--- a/src/mpd_client.c ++++ b/src/mpd_client.c +@@ -30,6 +30,8 @@ + + /* forward declaration */ + static int mpd_notify_callback(struct mg_connection *c, enum mg_event ev); ++char dirble_api_token[28]; ++struct t_mpd mpd; + + const char * mpd_cmd_strs[] = { + MPD_CMDS(GEN_STR) +diff --git a/src/mpd_client.h b/src/mpd_client.h +index 447dd563..9342c550 100644 +--- a/src/mpd_client.h ++++ b/src/mpd_client.h +@@ -96,6 +96,8 @@ struct t_mpd { + + int song_id; + unsigned queue_version; +-} mpd; ++}; ++ ++extern struct t_mpd mpd; + + struct t_mpd_client_session { + int song_id;