preload-hacks: Some patches to make it work.
[termux-packages] / packages / man / tag.c.patch
CommitLineData
163a8808
FF
1diff -u -r ../mdocml-1.13.4/tag.c ./tag.c
2--- ../mdocml-1.13.4/tag.c 2016-07-14 07:13:40.000000000 -0400
3+++ ./tag.c 2016-07-16 19:03:04.023051008 -0400
4@@ -82,9 +82,9 @@
5
6 /* Create both temporary output files. */
7
8- (void)strlcpy(tag_files.ofn, "/tmp/man.XXXXXXXXXX",
9+ (void)strlcpy(tag_files.ofn, "@TERMUX_PREFIX@/tmp/man.XXXXXXXXXX",
10 sizeof(tag_files.ofn));
11- (void)strlcpy(tag_files.tfn, "/tmp/man.XXXXXXXXXX",
12+ (void)strlcpy(tag_files.tfn, "@TERMUX_PREFIX@/tmp/man.XXXXXXXXXX",
13 sizeof(tag_files.tfn));
14 if ((ofd = mkstemp(tag_files.ofn)) == -1)
15 goto fail;