Files
termux-packages/packages/softether-vpn/src-Mayaqua-FileIO.c.orig.patch
termux-pacman-bot 6a9266c540 bump(main/softether-vpn): 5.2.5188
- Fixes https://github.com/termux/termux-packages/issues/22075

- Convert source to LF before patching

- Disable `OQS_ENABLE_KEM_NTRUPRIME` to avoid https://github.com/open-quantum-safe/liboqs/issues/2324

- Disable `install` CMake targets of vendored `cpu_features` to avoid conflict with `libcpufeatures`
2025-11-21 08:07:17 +00:00

14 lines
420 B
Diff

--- a/src/Mayaqua/FileIO.c
+++ b/src/Mayaqua/FileIO.c
@@ -20,8 +20,8 @@
#include <Hamcore.h>
-static char exe_file_name[MAX_SIZE] = "/tmp/a.out";
-static wchar_t exe_file_name_w[MAX_SIZE] = L"/tmp/a.out";
+static char exe_file_name[MAX_SIZE] = "@TERMUX_PREFIX@/tmp/a.out";
+static wchar_t exe_file_name_w[MAX_SIZE] = L"@TERMUX_PREFIX@/tmp/a.out";
static LIST *hamcore = NULL;
static HAMCORE *hamcore_io = NULL;