termux-packages/packages/csol/src-main.c.patch

16 lines
348 B
Diff
Raw Normal View History

2022-01-11 22:33:34 +01:00
--- a/src/main.c
+++ b/src/main.c
@@ -100,10 +100,10 @@
}
}
} else {
- f = fopen("/etc/xdg/csol/csolrc", "r");
+ f = fopen("@TERMUX_PREFIX@/etc/xdg/csol/csolrc", "r");
if (f) {
fclose(f);
- return strdup("/etc/xdg/csol/csolrc");
+ return strdup("@TERMUX_PREFIX@/etc/xdg/csol/csolrc");
}
}
#endif