aboutsummaryrefslogtreecommitdiff
path: root/audio/cmp3/files
diff options
context:
space:
mode:
authorMichael Haro <mharo@FreeBSD.org>1999-04-13 23:26:28 +0000
committerMichael Haro <mharo@FreeBSD.org>1999-04-13 23:26:28 +0000
commit5de423c5ecbe5550211bf24528bafffd348849a5 (patch)
tree738cd30dd759ff41043ea445ffe5400f7f21f7d8 /audio/cmp3/files
parent786a0abc5d2b1ad232f70cd81363aa01f8833ad1 (diff)
downloadports-5de423c5ecbe5550211bf24528bafffd348849a5.tar.gz
ports-5de423c5ecbe5550211bf24528bafffd348849a5.zip
A simple yet featureful ncurses frontend to mpg123.
PR: 11076 Submitted by: Chris Piazza <cpiazza@home.net>
Notes
Notes: svn path=/head/; revision=17858
Diffstat (limited to 'audio/cmp3/files')
-rw-r--r--audio/cmp3/files/patch-aa44
-rw-r--r--audio/cmp3/files/patch-ab20
2 files changed, 64 insertions, 0 deletions
diff --git a/audio/cmp3/files/patch-aa b/audio/cmp3/files/patch-aa
new file mode 100644
index 000000000000..9cfefa4bf8aa
--- /dev/null
+++ b/audio/cmp3/files/patch-aa
@@ -0,0 +1,44 @@
+--- Makefile.orig Sat Apr 10 12:40:57 1999
++++ Makefile Sat Apr 10 23:26:31 1999
+@@ -1,7 +1,7 @@
+ #
+ # Set these variables
+ #
+-INIT_DIR="/mp3"
++INIT_DIR="$(PREFIX)/share/mp3"
+ MPG123_LOC="mpg123"
+ #INSTALL_DIR=/usr/local/bin
+ INSTALL_DIR=$(HOME)/bin
+@@ -11,7 +11,7 @@
+ #
+
+ ## An ass repository is a nice thing to have. See README
+-ASSREPOSITORY="$(HOME)/.cmp3ass"
++#ASSREPOSITORY="$(HOME)/.cmp3ass"
+
+ ## Define this for bufferring or add other parameters to mpg123
+ #EXEC_PARAMS=-DEXEC_PARAMS="\"-b\",\"320\""
+@@ -30,8 +30,9 @@
+ # stands. Change the code to do something else you want it to do...
+ #PARAMS +=-DMY_CD
+ LIBS= -lncurses
+-CFLAGS= -Wall -O2 -g
+-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"
+
+ clean:
+ rm -f *.o *~ DEADJOE core cmp3 rnmp3
+@@ -75,4 +75,4 @@
+ fi;
+ endif
+
diff --git a/audio/cmp3/files/patch-ab b/audio/cmp3/files/patch-ab
new file mode 100644
index 000000000000..3c277718cd2b
--- /dev/null
+++ b/audio/cmp3/files/patch-ab
@@ -0,0 +1,20 @@
+--- cmp3.h.orig Sat Apr 10 21:49:16 1999
++++ cmp3.h Sat Apr 10 21:54:51 1999
+@@ -1,7 +1,7 @@
+ #ifndef _CMP3_H
+ #define _CMP3_H
+
+-#include<curses.h>
++#include<ncurses.h>
+
+ #ifndef NCURSES_VERSION
+ #error "This program requires ncurses to function"
+@@ -15,7 +15,7 @@
+ #include<sys/wait.h>
+ #include<sys/ioctl.h>
+ #include<sys/stat.h>
+-#include<sys/soundcard.h>
++#include<machine/soundcard.h>
+ #include<fcntl.h>
+ #include<stdio.h>
+ #include<stdlib.h>