Files
termux-packages/packages/softether-vpn/src-Cedar-Cedar.c.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

12 lines
300 B
Diff

--- a/src/Cedar/Cedar.c
+++ b/src/Cedar/Cedar.c
@@ -1290,7 +1290,7 @@
// Initialize net service list
void InitNetSvcList(CEDAR *cedar)
{
- char filename[MAX_PATH] = "/etc/services";
+ char filename[MAX_PATH] = "@TERMUX_PREFIX@/etc/services";
BUF *b;
// Validate arguments
if (cedar == NULL)