termux-packages/packages/glib/gio-gkeyfilesettingsbackend...

12 lines
396 B
Diff

--- ./gio/gkeyfilesettingsbackend.c.orig 2021-12-10 19:39:09.321718024 +0530
+++ ./gio/gkeyfilesettingsbackend.c 2021-12-10 19:39:26.371718018 +0530
@@ -662,7 +662,7 @@
load_system_settings (GKeyfileSettingsBackend *kfsb)
{
GError *error = NULL;
- const char *dir = "/etc/glib-2.0/settings";
+ const char *dir = "@TERMUX_PREFIX@/etc/glib-2.0/settings";
char *path;
char *contents;