From 9babb727c0a0f523e1d52fb17d334fe071279e23 Mon Sep 17 00:00:00 2001 From: abs Date: Thu, 1 Aug 2002 08:51:20 +0000 Subject: add missing patches for last --- audio/mserv/patches/patch-ai | 15 +++++++++++++++ audio/mserv/patches/patch-aj | 15 +++++++++++++++ 2 files changed, 30 insertions(+) create mode 100644 audio/mserv/patches/patch-ai create mode 100644 audio/mserv/patches/patch-aj (limited to 'audio/mserv/patches') 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, -- cgit v1.2.3