package/ympd: renumber patch
PATCH 1/2 package/ympd: renumber patch
Signed-off-by Fabrice Fontaine <[email protected]>
---
.../{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%)package/ympd/0001-only-c-language.patch renamed from package/ympd/0002-only-c-language.patch +0 -0
Signature · 1 line
2.28.0
PATCH 2/2 package/ympd: fix build with gcc 10
Fixes:
- http://autobuild.buildroot.org/results/ea4b96ba8d4a398515ed349e8304a656b684f718
Signed-off-by Fabrice Fontaine <[email protected]>
--- .../0002-added-forward-declarations.patch | 43 +++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 package/ympd/0002-added-forward-declarations.patch
package/ympd/0002-added-forward-declarations.patch new file +43 -0
@@ -0,0 +1,43 @@ +From 2268e0f0f372a61827b912155a1796490968b3ff Mon Sep 17 00:00:00 2001 +From: SuperBFG7 <[email protected]> +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 <[email protected]> +--- + 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;
Signature · 1 line
2.28.0
PATCH 2/2 package/ympd: fix build with gcc 10
Quoted 6 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Fabrice" == Fabrice Fontaine <[email protected]> writes:
Fixes:
- http://autobuild.buildroot.org/results/ea4b96ba8d4a398515ed349e8304a656b684f718Signed-off-by Fabrice Fontaine <[email protected]>
Committed to 2020.08.x, thanks.
Signature · 1 line
Bye, Peter Korsgaard
PATCH 1/2 package/ympd: renumber patch
In reply to Fabrice FontaineQuoted 5 lines · On Wed, 9 Sep 2020 20:26:39 +0200 Fabrice Fontaine…
Signed-off-by Fabrice Fontaine <[email protected]>--- .../{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%)
Both applied. Thanks!
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin Embedded Linux and Kernel engineering https://bootlin.com
PATCH 1/2 package/ympd: renumber patch
In reply to Fabrice FontaineQuoted 3 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Fabrice" == Fabrice Fontaine <[email protected]> writes:
Signed-off-by Fabrice Fontaine <[email protected]>
Committed to 2020.02.x, 2020.05.x and 2020.08.x, thanks.
Signature · 1 line
Bye, Peter Korsgaard