termux-packages/packages/mailutils/lib-manlock.c.patch
xtkoba 41e07e5b2f
mailutils: Fix hardcoded paths (#8121)
* mailutils: Fix hardcoded paths

* mailutils: Bump revision
2021-12-02 15:52:57 +05:30

12 lines
274 B
Diff

--- a/lib/manlock.c
+++ b/lib/manlock.c
@@ -52,7 +52,7 @@
*/
int manlock_mandatory_locking;
-char *manlock_lock_dir = "/var/lock/subsys/mail";
+char *manlock_lock_dir = "@TERMUX_PREFIX@/var/lock/subsys/mail";
static char *
make_locker_file_name (const char *urlstr)