termux-packages/packages/predict/utils-fodtrack-0.1-fodtrack.c.patch

14 lines
390 B
Diff
Raw Normal View History

2022-03-15 09:33:30 +01:00
--- 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;