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

12 lines
411 B
Diff
Raw Normal View History

2018-11-24 18:11:40 +01:00
--- ../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"