1
0
Fork 0
mirror of https://git.freebsd.org/ports.git synced 2025-06-25 22:50:32 -04:00
ports/audio/ympd/files/patch-src_mpd__client.c
Niclas Zeising c45fb95a69 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)
2020-08-28 21:29:23 +00:00

11 lines
264 B
C

--- 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);