termux-packages/packages/bitlbee/ipc.c.patch

12 lines
244 B
Diff

--- a/ipc.c
+++ b/ipc.c
@@ -824,7 +824,7 @@
char *ipc_master_save_state()
{
- char *fn = g_strdup("/tmp/bee-restart.XXXXXX");
+ char *fn = g_strdup("@TERMUX_PREFIX@/tmp/bee-restart.XXXXXX");
int fd = mkstemp(fn);
GSList *l;
FILE *fp;