Files
termux-packages/packages/greed/lockfile_path.patch
termux-pacman-bot b64f74aaff bump(main/greed): 4.3
2024-05-09 10:37:55 +00:00

11 lines
334 B
Diff

+++ ./greed.c
@@ -72,7 +72,7 @@
/* rnd() returns a random number between 1 and x */
#define rnd(x) (int)((lrand48() % (x)) + 1)
-#define LOCKPATH "/tmp/Greed.lock" /* lock path for high score file */
+#define LOCKPATH "@TERMUX_PREFIX@/tmp/Greed.lock" /* lock path for high score file */
#define LOCALSCOREFILE ".greedscores"