77dc2178a2e402f29bda2db28bc35b1f4c31e76e
[termux-packages] / packages / ncmpcpp / settings.cpp.patch
1 --- ../cache/ncmpcpp-8134e6e23b2787322fa10e65e44d286da82eea91/src/settings.cpp 2017-04-23 02:24:57.000000000 +0000
2 +++ ./src/settings.cpp 2017-05-14 00:38:51.558248240 +0000
3 @@ -211,7 +211,7 @@
4 // keep the same order of variables as in configuration file
5 p.add("ncmpcpp_directory", &ncmpcpp_directory, "~/.ncmpcpp/", adjust_directory);
6 p.add("lyrics_directory", &lyrics_directory, "~/.lyrics/", adjust_directory);
7 - p.add<void>("mpd_host", nullptr, "localhost", [](std::string host) {
8 + p.add<void>("mpd_host", nullptr, "~/../usr/tmp/mpd.socket", [](std::string host) {
9 expand_home(host);
10 Mpd.SetHostname(host);
11 });