mirror of
https://github.com/termux-pacman/termux-packages.git
synced 2026-02-10 20:00:51 +00:00
- 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`
14 lines
420 B
Diff
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;
|
|
|