From 7224c1253228e5c29c78cb3f0f26ce34770f2356 Mon Sep 17 00:00:00 2001 From: BlackNoxis Date: Sat, 15 Feb 2014 23:24:26 +0200 Subject: Added ebuilds for kogaion desktop --- app-admin/conky/files/conky-1.8.1-xmms2.patch | 36 +++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 app-admin/conky/files/conky-1.8.1-xmms2.patch (limited to 'app-admin/conky/files/conky-1.8.1-xmms2.patch') diff --git a/app-admin/conky/files/conky-1.8.1-xmms2.patch b/app-admin/conky/files/conky-1.8.1-xmms2.patch new file mode 100644 index 00000000..a1b03d45 --- /dev/null +++ b/app-admin/conky/files/conky-1.8.1-xmms2.patch @@ -0,0 +1,36 @@ +From 8dd9b91bb2751abccc02b53cefd0ab8f0e3b957d Mon Sep 17 00:00:00 2001 +From: Brenden Matthews +Date: Thu, 14 Oct 2010 16:51:53 -0700 +Subject: [PATCH] Build fix for XMMS2. + +This resolves bug 3085691, see: +https://sourceforge.net/tracker/index.php?func=detail&aid=3085691&group_id=143975&atid=757308 +--- + src/xmms2.c | 4 ++-- + 1 files changed, 2 insertions(+), 2 deletions(-) + +diff --git a/src/xmms2.c b/src/xmms2.c +index 521bffa..94f13f9 100644 +--- a/src/xmms2.c ++++ b/src/xmms2.c +@@ -223,7 +223,7 @@ int handle_playback_state_change(xmmsv_t *value, void *p) + break; + case XMMS_PLAYBACK_STATUS_STOP: + strncpy(ptr->xmms2.status, "Stopped", text_buffer_size - 1); +- ptr->xmms2.elapsed = ptr->xmms2.progress = ptr->xmms2.percent = 0; ++ ptr->xmms2.elapsed = ptr->xmms2.progress = 0; + break; + default: + strncpy(ptr->xmms2.status, "Unknown", text_buffer_size - 1); +@@ -232,7 +232,7 @@ int handle_playback_state_change(xmmsv_t *value, void *p) + return TRUE; + } + +-int handle_playlist_loaded(xmmsv_t *value, void *p) ++int handle_playlist_loaded(xmmsv_t *value, void *p) + { + struct information *ptr = p; + const char *c, *errbuf; +-- +1.7.0.4 + -- cgit v1.2.3