SecBSD's official ports repository
This commit is contained in:
commit
2c0afcbbf3
64331 changed files with 5339189 additions and 0 deletions
26
audio/scmpc/patches/patch-src_mpd_h
Normal file
26
audio/scmpc/patches/patch-src_mpd_h
Normal file
|
@ -0,0 +1,26 @@
|
|||
fix for -fno-common
|
||||
https://gitweb.gentoo.org/repo/gentoo.git/commit/media-sound/scmpc/files?id=c9f42ac8feb314f3f2f6ec7cfd8c535ff33fe735
|
||||
|
||||
Index: src/mpd.h
|
||||
--- src/mpd.h.orig
|
||||
+++ src/mpd.h
|
||||
@@ -32,7 +32,7 @@
|
||||
/**
|
||||
* MPD connection data
|
||||
*/
|
||||
-struct {
|
||||
+struct mpd_t {
|
||||
struct mpd_connection *conn;
|
||||
struct mpd_status *status;
|
||||
struct mpd_song *song;
|
||||
@@ -42,7 +42,9 @@ struct {
|
||||
guint idle_source;
|
||||
guint check_source;
|
||||
guint reconnect_source;
|
||||
-} mpd;
|
||||
+};
|
||||
+
|
||||
+extern struct mpd_t mpd;
|
||||
|
||||
/**
|
||||
* Connect to MPD
|
Loading…
Add table
Add a link
Reference in a new issue