ports/audio/scmpc/patches/patch-src_audioscrobbler_c

16 lines
528 B
Text

fix for -fno-common
https://gitweb.gentoo.org/repo/gentoo.git/commit/media-sound/scmpc/files?id=c9f42ac8feb314f3f2f6ec7cfd8c535ff33fe735
Index: src/audioscrobbler.c
--- src/audioscrobbler.c.orig
+++ src/audioscrobbler.c
@@ -50,6 +50,9 @@ static gushort build_querystring_single(gchar **qs);
#define API_KEY "3ec5638071c41a864bf0c8d451566476"
#define API_SECRET "365e18391ccdee3bf820cb3d2ba466f6"
+static struct as_conn_t as_conn;
+gchar *buffer;
+
gboolean as_connection_init(void)
{
as_conn.handle = curl_easy_init();