summaryrefslogtreecommitdiff
path: root/audio/mserv
diff options
context:
space:
mode:
authorabs <abs@pkgsrc.org>2002-08-01 08:51:20 +0000
committerabs <abs@pkgsrc.org>2002-08-01 08:51:20 +0000
commit9babb727c0a0f523e1d52fb17d334fe071279e23 (patch)
tree4e6b4bb4959168e37414b0876e342acbf45bb95e /audio/mserv
parent24ff1640b784854a272644abaae15bd16de5f680 (diff)
downloadpkgsrc-9babb727c0a0f523e1d52fb17d334fe071279e23.tar.gz
add missing patches for last
Diffstat (limited to 'audio/mserv')
-rw-r--r--audio/mserv/patches/patch-ai15
-rw-r--r--audio/mserv/patches/patch-aj15
2 files changed, 30 insertions, 0 deletions
diff --git a/audio/mserv/patches/patch-ai b/audio/mserv/patches/patch-ai
new file mode 100644
index 00000000000..aa69a274e82
--- /dev/null
+++ b/audio/mserv/patches/patch-ai
@@ -0,0 +1,15 @@
+$NetBSD: patch-ai,v 1.1 2002/08/01 08:51:20 abs Exp $
+
+--- mserv/mservplay.c.orig Tue Jan 25 19:59:16 2000
++++ mserv/mservplay.c
+@@ -14,10 +14,6 @@
+ #include "defines.h"
+ #include "misc.h"
+
+-#ifndef PATH_MPG123
+-#define PATH_MPG123 "/usr/local/bin/mpg123"
+-#endif
+-
+ int main(int argc, char *argv[])
+ {
+ const pid_t pid = getpid();
diff --git a/audio/mserv/patches/patch-aj b/audio/mserv/patches/patch-aj
new file mode 100644
index 00000000000..cc336ef9ab8
--- /dev/null
+++ b/audio/mserv/patches/patch-aj
@@ -0,0 +1,15 @@
+$NetBSD: patch-aj,v 1.1 2002/08/01 08:51:21 abs Exp $
+
+--- mserv/opt.c.orig Thu Jul 13 22:14:41 2000
++++ mserv/opt.c
+@@ -164,8 +164,8 @@ int opt_read(const char *root)
+ /* special case - player variable is an indirected to another variable */
+ if ((val = conf_getvalue("player")) == NULL) {
+ if (mserv_verbose)
+- printf("No player specified, defaulting to /usr/local/bin/mpg123\n");
+- opt_player = "/usr/local/bin/mpg123";
++ printf("No player specified, defaulting to " PATH_MPG123 "\n");
++ opt_player = PATH_MPG123;
+ } else {
+ if ((opt_player = conf_getvalue(val)) == NULL) {
+ fprintf(stderr, "%s: player setting '%s' not found\n", progname,