termux-packages/packages/calcurse/fix-hardcoded-paths.patch

13 lines
321 B
Diff

diff -uNr calcurse-4.6.0/src/utils.c calcurse-4.6.0.mod/src/utils.c
--- calcurse-4.6.0/src/utils.c 2020-02-04 23:46:34.000000000 +0200
+++ calcurse-4.6.0.mod/src/utils.c 2020-10-01 20:31:32.951590892 +0300
@@ -775,7 +775,7 @@
return P_tmpdir;
#endif
else
- return "/tmp";
+ return "@TERMUX_PREFIX@/tmp";
}
/*