ports/audio/ympd/patches/patch-src_mpd_client_h

22 lines
433 B
Text

fix for -fno-common
https://svnweb.freebsd.org/changeset/ports/546834
Index: src/mpd_client.h
--- src/mpd_client.h.orig
+++ 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);