diff options
author | 2008-12-05 22:35:37 +0000 | |
---|---|---|
committer | 2008-12-05 22:35:37 +0000 | |
commit | 21d8b9ad5d20fe516c2d59c0c568bfdc35074a64 (patch) | |
tree | 143151e8c8678047586a0b248c029c270fa3a7da /media-sound/mpd/files | |
parent | Version bump. (diff) | |
download | gentoo-2-21d8b9ad5d20fe516c2d59c0c568bfdc35074a64.tar.gz gentoo-2-21d8b9ad5d20fe516c2d59c0c568bfdc35074a64.tar.bz2 gentoo-2-21d8b9ad5d20fe516c2d59c0c568bfdc35074a64.zip |
Version bump and removed old
(Portage version: 2.2_rc16/cvs/Linux 2.6.28-rc7 x86_64)
Diffstat (limited to 'media-sound/mpd/files')
-rw-r--r-- | media-sound/mpd/files/mpd-0.14_alpha1-loglevel.patch | 12 | ||||
-rw-r--r-- | media-sound/mpd/files/mpdconf1.patch | 51 |
2 files changed, 51 insertions, 12 deletions
diff --git a/media-sound/mpd/files/mpd-0.14_alpha1-loglevel.patch b/media-sound/mpd/files/mpd-0.14_alpha1-loglevel.patch deleted file mode 100644 index 7d0740eabd45..000000000000 --- a/media-sound/mpd/files/mpd-0.14_alpha1-loglevel.patch +++ /dev/null @@ -1,12 +0,0 @@ -diff -pru mpd-0.14~alpha1.orig/src/log.c mpd-0.14~alpha1/src/log.c ---- mpd-0.14~alpha1.orig/src/log.c 2008-11-09 20:01:02.000000000 +0100 -+++ mpd-0.14~alpha1/src/log.c 2008-11-09 20:01:16.000000000 +0100 -@@ -159,7 +159,7 @@ void setup_log_output(bool use_stdout) - #define log_func(func,level) \ - mpd_printf void func(const char *fmt, ...) \ - { \ -- if ((int)log_threshold <= level) { \ -+ if ((int)log_threshold >= level) { \ - va_list args; \ - va_start(args, fmt); \ - g_logv(NULL, level, fmt, args); \ diff --git a/media-sound/mpd/files/mpdconf1.patch b/media-sound/mpd/files/mpdconf1.patch new file mode 100644 index 000000000000..9ccbbff5d93f --- /dev/null +++ b/media-sound/mpd/files/mpdconf1.patch @@ -0,0 +1,51 @@ +--- doc/mpdconf.example 2008-12-03 05:01:07.000000000 +0100 ++++ doc/mpdconf.example.gentoo 2008-12-05 23:25:32.000000000 +0100 +@@ -1,12 +1,12 @@ +-# An example configuration file for MPD ++# A default Gentoo configuration file for MPD + # See the mpd.conf man page for a more detailed description of each parameter. + + ######################## REQUIRED PATHS ######################## +-music_directory "~/music" +-playlist_directory "~/.mpd/playlists" +-db_file "~/.mpd/mpd.db" +-log_file "~/.mpd/mpd.log" +-error_file "~/.mpd/mpd.error" ++music_directory "/var/lib/mpd/music" ++playlist_directory "/var/lib/mpd/playlists" ++db_file "/var/lib/mpd/database" ++log_file "/var/log/mpd/mpd.log" ++error_file "/var/log/mpd/mpd.error.log" + #follow_outside_symlinks "no" + #follow_inside_symlinks "yes" + ################################################################ +@@ -17,13 +17,13 @@ + # If you wish to use mpd --kill to stop MPD, then you must + # specify a file here in which to store MPD's process ID. + # +-#pid_file "~/.mpd/mpd.pid" ++pid_file "/var/run/mpd/mpd.pid" + # + # If specified, MPD will save its current state (playlist, + # current song, playing/paused, etc.) at exit. This will be + # used to restore the session the next time it is run. + # +-#state_file "~/.mpd/mpdstate" ++state_file "/var/lib/mpd/state" + # + ################################################################ + +@@ -35,11 +35,11 @@ + # started by. If left unspecified, MPD will not drop root + # privileges at all (not recommended). + # +-#user "nobody" ++user "mpd" + # + # The address and port to listen on. + # +-#bind_to_address "any" ++bind_to_address "localhost" + #port "6600" + # + # Controls the amount of information that is logged. Can be |