aboutsummaryrefslogtreecommitdiff
path: root/audio/xmmsctrl
diff options
context:
space:
mode:
Diffstat (limited to 'audio/xmmsctrl')
-rw-r--r--audio/xmmsctrl/files/patch-Makefile9
-rw-r--r--audio/xmmsctrl/files/patch-removefile.c8
2 files changed, 8 insertions, 9 deletions
diff --git a/audio/xmmsctrl/files/patch-Makefile b/audio/xmmsctrl/files/patch-Makefile
index 46ad25e99605..d1ffd5e12177 100644
--- a/audio/xmmsctrl/files/patch-Makefile
+++ b/audio/xmmsctrl/files/patch-Makefile
@@ -1,6 +1,6 @@
---- Makefile.orig Fri Apr 2 15:00:12 2004
-+++ Makefile Sun Oct 2 01:30:57 2005
-@@ -6,17 +6,15 @@
+--- Makefile.orig 2004-04-02 13:00:12 UTC
++++ Makefile
+@@ -6,17 +6,15 @@ TARGET := xmmsctrl
VERSION := 1.8
DIRNAME := $(shell basename $(PWD))
@@ -8,9 +8,8 @@
WARN := -Wall -Wshadow -Wmissing-prototypes -W
DEFS := -DPRETTY_PRINT -D_GNU_SOURCE -DVERSION=\"$(VERSION)\"
-CFLAGS := $(WARN) -O2 $(shell xmms-config --cflags) $(DEFS)
--LDFLAGS := $(shell xmms-config --libs)
+CFLAGS += $(WARN) $(shell xmms-config --cflags) $(DEFS)
-+LDFLAGS := $(shell xmms-config --libs)
+ LDFLAGS := $(shell xmms-config --libs)
-all : $(TARGET) HELP
+all : $(TARGET)
diff --git a/audio/xmmsctrl/files/patch-removefile.c b/audio/xmmsctrl/files/patch-removefile.c
index b99afb9fdb1e..23d7de1b201d 100644
--- a/audio/xmmsctrl/files/patch-removefile.c
+++ b/audio/xmmsctrl/files/patch-removefile.c
@@ -1,6 +1,6 @@
---- removefile.c.orig Thu Apr 1 08:26:19 2004
-+++ removefile.c Thu Sep 22 13:41:04 2005
-@@ -111,7 +111,7 @@
+--- removefile.c.orig 2004-04-01 13:26:19 UTC
++++ removefile.c
+@@ -111,7 +111,7 @@ static void remove_dirname(int root_len,
DIR *dir = opendir(".");
if (dir) {
/* xmms uses absolute paths */
@@ -9,7 +9,7 @@
struct dirent *entry;
struct stat file_stat;
-@@ -189,7 +189,7 @@
+@@ -189,7 +189,7 @@ void remove_file(gint session, char *fil
gint *remove_pos = (gint*) malloc(list_size*sizeof(gint));
if (remove_pos) {