termux-packages/packages/softether-vpn/src-Cedar-Cedar.c.patch

12 lines
308 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)