termux-packages/packages/predict/utils-fodtrack-0.1-fodtrack.c.patch
2022-03-16 18:00:11 +09:00

14 lines
390 B
Diff

--- a/utils/fodtrack-0.1/fodtrack.c
+++ b/utils/fodtrack-0.1/fodtrack.c
@@ -20,8 +20,8 @@
#define false 0
#define true 1
-#define PSEUDODEVICEFILE "/tmp/fodtrackdevice"
-#define CONFIGFILE "/etc/fodtrack.conf"
+#define PSEUDODEVICEFILE "@TERMUX_PREFIX@/tmp/fodtrackdevice"
+#define CONFIGFILE "@TERMUX_PREFIX@/etc/fodtrack.conf"
static int fodtrackfd;
static int azimuthcorrection;