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

30 lines
603 B
Diff

--- a/src/Mayaqua/Network.c
+++ b/src/Mayaqua/Network.c
@@ -8024,7 +8024,7 @@
GetLocalHostIP4(ip);
- b = ReadDump("/etc/resolv.conf");
+ b = ReadDump("@TERMUX_PREFIX@/etc/resolv.conf");
if (b != NULL)
{
char *s;
@@ -9980,7 +9980,7 @@
bool UnixGetDomainName(char *name, UINT size)
{
bool ret = false;
- BUF *b = ReadDump("/etc/resolv.conf");
+ BUF *b = ReadDump("@TERMUX_PREFIX@/etc/resolv.conf");
if (b == NULL)
{
@@ -14907,7 +14907,7 @@
return false;
}
- b = ReadDump("/etc/hosts");
+ b = ReadDump("@TERMUX_PREFIX@/etc/hosts");
if (b == NULL)
{
return false;