Index: head/audio/ympd/files/patch-src_mpd__client.c =================================================================== --- head/audio/ympd/files/patch-src_mpd__client.c (nonexistent) +++ head/audio/ympd/files/patch-src_mpd__client.c (revision 546834) @@ -0,0 +1,11 @@ +--- src/mpd_client.c.orig 2020-08-28 21:21:59 UTC ++++ src/mpd_client.c +@@ -27,6 +27,8 @@ + #include "config.h" + #include "json_encode.h" + ++struct t_mpd mpd; ++ + /* forward declaration */ + static int mpd_notify_callback(struct mg_connection *c, enum mg_event ev); + Property changes on: head/audio/ympd/files/patch-src_mpd__client.c ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/audio/ympd/files/patch-src_mpd__client.h =================================================================== --- head/audio/ympd/files/patch-src_mpd__client.h (nonexistent) +++ head/audio/ympd/files/patch-src_mpd__client.h (revision 546834) @@ -0,0 +1,18 @@ +--- src/mpd_client.h.orig 2016-02-13 21:01:52 UTC ++++ src/mpd_client.h +@@ -92,12 +92,14 @@ struct t_mpd { + + int song_id; + unsigned queue_version; +-} mpd; ++}; + + struct t_mpd_client_session { + int song_id; + unsigned queue_version; + }; ++ ++extern struct t_mpd mpd; + + void mpd_poll(struct mg_server *s); + int callback_mpd(struct mg_connection *c); Property changes on: head/audio/ympd/files/patch-src_mpd__client.h ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property