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

12 lines
285 B
Diff

--- a/otr.c
+++ b/otr.c
@@ -2021,7 +2021,7 @@
myfgets(accountname, 512, input);
myfgets(protocol, 512, input);
- strncpy(filename, "/tmp/bitlbee-XXXXXX", 128);
+ strncpy(filename, "@TERMUX_PREFIX@/tmp/bitlbee-XXXXXX", 128);
tempfd = mkstemp(filename);
close(tempfd);