aboutsummaryrefslogtreecommitdiffstats
path: root/audio/cmp3/files/patch-aa
diff options
context:
space:
mode:
Diffstat (limited to 'audio/cmp3/files/patch-aa')
-rw-r--r--audio/cmp3/files/patch-aa49
1 files changed, 20 insertions, 29 deletions
diff --git a/audio/cmp3/files/patch-aa b/audio/cmp3/files/patch-aa
index 9cfefa4bf8a..e6d6faeeb4e 100644
--- a/audio/cmp3/files/patch-aa
+++ b/audio/cmp3/files/patch-aa
@@ -1,44 +1,35 @@
---- Makefile.orig Sat Apr 10 12:40:57 1999
-+++ Makefile Sat Apr 10 23:26:31 1999
-@@ -1,7 +1,7 @@
+--- Makefile.orig Tue Mar 7 14:21:48 2000
++++ Makefile Tue Mar 7 14:23:36 2000
+@@ -3,7 +3,7 @@
#
- # Set these variables
+ initial_directory := "/mp3"
+ mpg123_location := "mpg123"
+-install_directory := "$(HOME)/bin"
++install_directory := "$(PREFIX)/bin"
+
#
--INIT_DIR="/mp3"
-+INIT_DIR="$(PREFIX)/share/mp3"
- MPG123_LOC="mpg123"
- #INSTALL_DIR=/usr/local/bin
- INSTALL_DIR=$(HOME)/bin
-@@ -11,7 +11,7 @@
+ # Location of config file (YOU create this file by yourself, see README)
+@@ -15,7 +15,7 @@
#
## An ass repository is a nice thing to have. See README
--ASSREPOSITORY="$(HOME)/.cmp3ass"
-+#ASSREPOSITORY="$(HOME)/.cmp3ass"
+-ass_repository := "$(HOME)/.cmp3ass"
++#ass_repository := "$(HOME)/.cmp3ass"
## Define this for bufferring or add other parameters to mpg123
- #EXEC_PARAMS=-DEXEC_PARAMS="\"-b\",\"320\""
-@@ -30,8 +30,9 @@
+ mpg123_params := -b 320
+@@ -34,8 +34,8 @@
# stands. Change the code to do something else you want it to do...
#PARAMS +=-DMY_CD
LIBS= -lncurses
--CFLAGS= -Wall -O2 -g
+-CFLAGS= -Wall -g -O2
-CC= gcc
-+CFLAGS?= -O2
+CFLAGS+= -Wall
+CC?= gcc
- OBJS= llist.o cmp3fileio.o cmp3manager.o cmp3curses.o cmp3llist.o \
- cmp3main.o cmp3listfiles.o cmp3playlist.o
-
-@@ -43,7 +44,6 @@
- endif
-
- all: rnmp3 cmp3
-- @echo -e "\n\nCmp3 is ready! Please read the README before proceeding.\n"
+ OBJS= llist.o cmp3common.o cmp3fileio.o cmp3manager.o cmp3curses.o \
+ cmp3llist.o cmp3main.o cmp3listfiles.o cmp3playlist.o cmp3volume.o \
+ cmp3general.o
+@@ -91,4 +91,4 @@
- clean:
- rm -f *.o *~ DEADJOE core cmp3 rnmp3
-@@ -75,4 +75,4 @@
- fi;
- endif
+ include .depend