summaryrefslogtreecommitdiff
path: root/games/fuhquake/files/patch-mp3_player.c
diff options
context:
space:
mode:
Diffstat (limited to 'games/fuhquake/files/patch-mp3_player.c')
-rw-r--r--games/fuhquake/files/patch-mp3_player.c26
1 files changed, 4 insertions, 22 deletions
diff --git a/games/fuhquake/files/patch-mp3_player.c b/games/fuhquake/files/patch-mp3_player.c
index 30218a638970..3f8501682e11 100644
--- a/games/fuhquake/files/patch-mp3_player.c
+++ b/games/fuhquake/files/patch-mp3_player.c
@@ -1,6 +1,6 @@
---- mp3_player.c.orig Mon Sep 1 18:18:40 2003
-+++ mp3_player.c Mon Sep 1 18:20:09 2003
-@@ -48,9 +48,10 @@
+--- mp3_player.c.orig Wed Feb 4 21:19:26 2004
++++ mp3_player.c Wed Feb 4 21:23:46 2004
+@@ -56,9 +56,10 @@
#ifdef __XMMS__
@@ -8,25 +8,7 @@
#include <sys/wait.h>
-cvar_t mp3_dir = {"mp3_xmms_dir", "/usr/local/bin"};
-+cvar_t mp3_dir = {"mp3_xmms_dir", "/usr/X11R6/bin"};
++cvar_t mp3_dir = {"mp3_xmms_dir", "%%X11BASE%%/bin"};
cvar_t mp3_xmms_session = {"mp3_xmms_session", "0"};
#endif
-@@ -288,7 +289,7 @@
- #define XMMS_COMMAND(Name, Param) \
- void MP3_##Name##_f(void) { \
- if (MP3_IsPlayerRunning()) { \
-- xmms_remote_##Param##(XMMS_SESSION); \
-+ xmms_remote_##Param(XMMS_SESSION); \
- } else { \
- Com_Printf("%s\n", mp3_notrunning_msg); \
- } \
-@@ -769,7 +770,7 @@
-
- #endif
-
--#ifdef __linux__
-+#if defined(__linux__) || defined(__FreeBSD__)
-
- #ifdef __XMMS__
-