summaryrefslogtreecommitdiff
path: root/audio/juke/patches
diff options
context:
space:
mode:
Diffstat (limited to 'audio/juke/patches')
-rw-r--r--audio/juke/patches/patch-aa18
-rw-r--r--audio/juke/patches/patch-ab13
-rw-r--r--audio/juke/patches/patch-ac15
3 files changed, 46 insertions, 0 deletions
diff --git a/audio/juke/patches/patch-aa b/audio/juke/patches/patch-aa
new file mode 100644
index 00000000000..2cfe80301cc
--- /dev/null
+++ b/audio/juke/patches/patch-aa
@@ -0,0 +1,18 @@
+$NetBSD: patch-aa,v 1.1.1.1 2003/03/06 22:30:57 salo Exp $
+
+--- src/conf.c.orig 2000-03-06 21:43:13.000000000 +0100
++++ src/conf.c 2003-02-26 17:36:08.000000000 +0100
+@@ -207,11 +207,11 @@
+ return;
+ }
+ }
+- cfg->file_len = load_file ("/etc/juke.conf", (void **)&cfg->file);
++ cfg->file_len = load_file ("@PKG_SYSCONFDIR@/juke.conf", (void **)&cfg->file);
+ if (cfg->file_len != ERROR) {
+ evaluate (cfg);
+ if (! cfg->formats) {
+- fprintf (stderr, "error: No formats in /etc/juke.conf\n");
++ fprintf (stderr, "error: No formats in @PKG_SYSCONFDIR@/juke.conf\n");
+ exit (ERROR);
+ }
+ build_arg_lists (cfg);
diff --git a/audio/juke/patches/patch-ab b/audio/juke/patches/patch-ab
new file mode 100644
index 00000000000..a46abb444a9
--- /dev/null
+++ b/audio/juke/patches/patch-ab
@@ -0,0 +1,13 @@
+$NetBSD: patch-ab,v 1.1.1.1 2003/03/06 22:30:57 salo Exp $
+
+--- doc/juke.1.orig 2003-02-26 17:37:02.000000000 +0100
++++ doc/juke.1 2003-02-26 17:37:20.000000000 +0100
+@@ -34,7 +34,7 @@
+ give the user the possibily of choosing audio files and queue them
+ for playback. Juke will play mp3, mod, wav and other formats.
+ .SH FILES
+-/etc/juke.conf, ~/.juke.conf
++@PKG_SYSCONFDIR@/juke.conf, ~/.juke.conf
+ .SH SEE ALSO
+ .BR mpg123 (1),
+ .BR play (1),
diff --git a/audio/juke/patches/patch-ac b/audio/juke/patches/patch-ac
new file mode 100644
index 00000000000..5e0a484fa3d
--- /dev/null
+++ b/audio/juke/patches/patch-ac
@@ -0,0 +1,15 @@
+$NetBSD: patch-ac,v 1.1.1.1 2003/03/06 22:30:57 salo Exp $
+
+--- MANUAL.orig 2000-09-27 09:06:52.000000000 +0200
++++ MANUAL 2003-02-26 17:38:28.000000000 +0100
+@@ -22,8 +22,8 @@
+
+ I hope that the format is kind of self explaining.
+
+-The configuration file can be saved as /etc/juke.conf or
+-~/.juke.conf. The later is used if both files exists.
++The configuration file can be saved as @PKG_SYSCONFDIR@/juke.conf
++or ~/.juke.conf. The later is used if both files exists.
+
+ 3 Usage
+