0
0
mirror of https://github.com/termux/termux-packages.git synced 2024-12-12 13:03:31 +00:00
termux-packages/packages/mympd/src-mpd_client-autoconf.c.patch
2023-10-17 12:48:42 +02:00

16 lines
439 B
Diff

--- a/src/mpd_client/autoconf.c
+++ b/src/mpd_client/autoconf.c
@@ -99,9 +99,9 @@
FREE_SDS(xdg_runtime_dir);
const char *test_sockets[] = {
- "/run/mpd/socket",
- "/var/run/mpd/socket",
- "/var/lib/mpd/socket", //Gentoo default
+ "@TERMUX_PREFIX@/var/run/mpd.socket",
+ "@TERMUX_PREFIX@/run/mpd.socket",
+ "@TERMUX_PREFIX@/var/lib/mpd.socket", //Gentoo default
NULL
};