diff options
author | Niclas Zeising <zeising@FreeBSD.org> | 2020-08-28 21:29:23 +0000 |
---|---|---|
committer | Niclas Zeising <zeising@FreeBSD.org> | 2020-08-28 21:29:23 +0000 |
commit | c45fb95a69d28d06effe6e2493dcdbcd98d17dff (patch) | |
tree | 5115994db6612470ca0941af405de8692c915a64 /audio/ympd/files/patch-src_mpd__client.c | |
parent | games/ezquake: fix build on current and deprecatae (diff) |
audio/ympd: Fix build with -fno-common
Add patches to fix the build of audio/ympd with -fno-common, which is the
default with llvm 11.
MFH: 2020Q3 (implicit, -fno-common fixes, ok by joenum)
Notes
Notes:
svn path=/head/; revision=546834
Diffstat (limited to 'audio/ympd/files/patch-src_mpd__client.c')
-rw-r--r-- | audio/ympd/files/patch-src_mpd__client.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/audio/ympd/files/patch-src_mpd__client.c b/audio/ympd/files/patch-src_mpd__client.c new file mode 100644 index 000000000000..dfc37965e0f7 --- /dev/null +++ b/audio/ympd/files/patch-src_mpd__client.c @@ -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); + |