termux-packages/packages/glib/glib-gcharset.c.patch

12 lines
454 B
Diff
Raw Normal View History

2021-12-11 11:24:41 +01:00
--- ./glib/gcharset.c.orig 2021-12-10 21:38:06.571715302 +0530
+++ ./glib/gcharset.c 2021-12-10 21:38:11.361715300 +0530
@@ -494,7 +494,7 @@
if (g_once_init_enter (&alias_table))
{
GHashTable *table = g_hash_table_new (g_str_hash, g_str_equal);
- read_aliases ("/usr/share/locale/locale.alias", table);
+ read_aliases ("@TERMUX_PREFIX@/share/locale/locale.alias", table);
g_once_init_leave (&alias_table, table);
}