termux-packages/packages/mpdscribble/file.c.patch

12 lines
411 B
Diff

--- ../file.c.orig 2018-11-23 13:05:51.749928637 +0100
+++ ./src/file.c 2018-11-23 13:07:24.143261299 +0100
@@ -38,7 +38,7 @@
#ifndef G_OS_WIN32
-#define FILE_CACHE "/var/cache/mpdscribble/mpdscribble.cache"
+#define FILE_CACHE "@TERMUX_PREFIX@/var/cache/mpdscribble/mpdscribble.cache"
#define FILE_HOME_CONF "~/.mpdscribble/mpdscribble.conf"
#define FILE_HOME_CACHE "~/.mpdscribble/mpdscribble.cache"