summaryrefslogtreecommitdiffstats
path: root/media-sound/xmms/files
diff options
context:
space:
mode:
Diffstat (limited to 'media-sound/xmms/files')
-rw-r--r--media-sound/xmms/files/xmms-1.2.10-gcc41.patch10
-rw-r--r--media-sound/xmms/files/xmms-1.2.10-locale_fix.patch11
-rw-r--r--media-sound/xmms/files/xmms-ds-gentoofix.patch36
3 files changed, 57 insertions, 0 deletions
diff --git a/media-sound/xmms/files/xmms-1.2.10-gcc41.patch b/media-sound/xmms/files/xmms-1.2.10-gcc41.patch
new file mode 100644
index 0000000..0041851
--- /dev/null
+++ b/media-sound/xmms/files/xmms-1.2.10-gcc41.patch
@@ -0,0 +1,10 @@
+--- xmms-1.2.10.orig/Output/esd/esdout.h 2005-11-22 19:53:38.000000000 +0600
++++ xmms-1.2.10/Output/esd/esdout.h 2005-11-22 19:56:04.197329014 +0600
+@@ -58,6 +58,7 @@
+ ESDConfig;
+
+ extern ESDConfig esd_cfg;
++extern void esdout_reset_playerid(void);
+
+ void esdout_init(void);
+ void esdout_about(void);
diff --git a/media-sound/xmms/files/xmms-1.2.10-locale_fix.patch b/media-sound/xmms/files/xmms-1.2.10-locale_fix.patch
new file mode 100644
index 0000000..cfb1cd1
--- /dev/null
+++ b/media-sound/xmms/files/xmms-1.2.10-locale_fix.patch
@@ -0,0 +1,11 @@
+diff -ruN xmms-1.2.10.orig/xmms/playlist.c xmms-1.2.10/xmms/playlist.c
+--- xmms-1.2.10.orig/xmms/playlist.c 2005-11-25 05:14:47.000000000 +0600
++++ xmms-1.2.10/xmms/playlist.c 2005-11-25 05:18:59.894581237 +0600
+@@ -23,6 +23,7 @@
+ #include "libxmms/rcc.h"
+ #include <sys/stat.h>
+ #include <unistd.h>
++#include <locale.h>
+
+ GList *playlist = NULL;
+ GList *shuffle_list = NULL;
diff --git a/media-sound/xmms/files/xmms-ds-gentoofix.patch b/media-sound/xmms/files/xmms-ds-gentoofix.patch
new file mode 100644
index 0000000..7a1ee35
--- /dev/null
+++ b/media-sound/xmms/files/xmms-ds-gentoofix.patch
@@ -0,0 +1,36 @@
+diff -dPNur xmms-1.2.10-gentoo/xmms/main.c xmms-1.2.10-new/xmms/main.c
+--- xmms-1.2.10-gentoo/xmms/main.c 2005-12-29 02:48:54.000000000 +0000
++++ xmms-1.2.10-new/xmms/main.c 2005-12-29 02:51:06.000000000 +0000
+@@ -3017,6 +3017,8 @@
+
+ }
+
++static sig_atomic_t exit_flag = 0;
++
+ gint idle_func(gpointer data)
+ {
+ gint time, t, length;
+@@ -3026,6 +3028,8 @@
+
+ static GTimer *pause_timer = NULL;
+
++ if (exit_flag) mainwin_quit_cb();
++
+ if (get_input_playing())
+ {
+ GDK_THREADS_ENTER();
+@@ -3393,13 +3397,7 @@
+ /* Try to exit nicely when receiving a nice exit signal */
+ void sigterm_handler(int sig)
+ {
+- /* Original author of patch said that you should not use mainwin_quit_cb(),
+- * but his way deadlock xmms, and it anyhow just calls ctrlsocket stuff with
+- * with CMD_QUIT, which anyhow calls mainwin_quit_cb() in turn. This is not
+- * entirely clean, but works.
+- * <azarah@gentoo.org> (19 Jan 2003)
+- xmms_remote_quit(ctrlsocket_get_session_id()); */
+- mainwin_quit_cb();
++ exit_flag = 1;
+ }
+
+ static gboolean pposition_configure(GtkWidget *w, GdkEventConfigure *event, gpointer data)