termux-packages/packages/shairport-sync/shairport.c.patch
2022-01-05 17:13:17 +02:00

12 lines
335 B
Diff

--- a/shairport.c
+++ b/shairport.c
@@ -945,7 +945,7 @@
#ifdef USE_CUSTOM_PID_DIR
char *use_this_pid_dir = PIDDIR;
#else
- char *use_this_pid_dir = "/var/run/shairport-sync";
+ char *use_this_pid_dir = "@TERMUX_PREFIX@/var/run/shairport-sync";
#endif
// debug(1,"config.piddir \"%s\".",config.piddir);
if (config.piddir)