termux-packages/packages/heyu/termux-paths.patch

27 lines
699 B
Diff
Raw Normal View History

--- heyu-2.10.3/x10.h 2021-04-30 22:37:54.000000000 +0530
+++ heyu-patch/x10.h 2022-04-07 21:08:06.054258327 +0530
@@ -59,12 +59,12 @@
/* directory for spool file */
#ifndef SPOOLDIR
-#define SPOOLDIR "/var/tmp/heyu"
+#define SPOOLDIR "@TERMUX_PREFIX@/var/tmp/heyu"
#endif
/* directory used for locks, specified in the Filesystem Hierarchy Standard */
#ifndef LOCKDIR
-#define LOCKDIR "/var/lock"
+#define LOCKDIR "@TERMUX_PREFIX@/var/lock"
#endif
/* Base directory under user $HOME */
@@ -72,7 +72,7 @@
/* system-wide Heyu base directory */
#ifndef SYSBASEDIR
-#define SYSBASEDIR "/etc/heyu"
+#define SYSBASEDIR "@TERMUX_PREFIX@/etc/heyu"
#endif
#define SPOOLFILE "heyu.out"