Files
termux-packages/packages/swtpm/src-swtpm_setup-swtpm.c.patch
termux-pacman-bot 69cbc5f349 bump(main/swtpm): 0.10.0
Remove unnecessary installed tests explicitly.
2024-11-16 06:06:00 +00:00

12 lines
359 B
Diff

--- a/src/swtpm_setup/swtpm.c
+++ b/src/swtpm_setup/swtpm.c
@@ -92,7 +92,7 @@
int pidfile_fd;
int ret = 1;
gchar *tmp;
- char pidfile[] = "/tmp/.swtpm_setup.pidfile.XXXXXX";
+ char pidfile[] = "@TERMUX_PREFIX@/tmp/.swtpm_setup.pidfile.XXXXXX";
pidfile_fd = g_mkstemp_full(pidfile, O_EXCL|O_CREAT, 0600);
if (pidfile_fd < 0) {