termux-packages/packages/fortune/fortune.c.patch

13 lines
366 B
Diff

diff -u -r ../fortune-1.2/fortune.c ./fortune.c
--- ../fortune-1.2/fortune.c 2008-02-15 08:20:30.000000000 -0500
+++ ./fortune.c 2016-04-12 04:08:49.426592095 -0400
@@ -51,7 +51,7 @@
#endif
#define VERSION "1.0"
-#define FORTUNEDIR "/usr/share/games/fortunes"
+#define FORTUNEDIR "@TERMUX_PREFIX@/share/games/fortunes"
struct option const long_options[] =
{