Initial push
[termux-packages] / packages / greed / lockfile_path.patch
1 diff -u -r ../greed-3.9/greed.c ./greed.c
2 --- ../greed-3.9/greed.c 2013-10-23 18:40:41.000000000 +0200
3 +++ ./greed.c 2014-02-22 11:00:49.000000000 +0100
4 @@ -69,7 +69,7 @@
5 /* rnd() returns a random number between 1 and x */
6 #define rnd(x) (int) ((lrand48() % (x))+1)
7
8 -#define LOCKPATH "/tmp/Greed.lock" /* lock path for high score file */
9 +#define LOCKPATH "@TERMUX_PREFIX@/tmp/Greed.lock" /* lock path for high score file */
10
11 /*
12 * changing stuff in this struct