termux-packages/packages/glib/gio-xdgmime-xdgmime.c.patch

12 lines
462 B
Diff
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

--- ./gio/xdgmime/xdgmime.c.orig 2021-12-10 20:05:07.591717430 +0530
+++ ./gio/xdgmime/xdgmime.c 2021-12-10 20:05:11.861717428 +0530
@@ -235,7 +235,7 @@
xdg_data_dirs = getenv ("XDG_DATA_DIRS");
if (xdg_data_dirs == NULL)
- xdg_data_dirs = "/usr/local/share/:/usr/share/";
+ xdg_data_dirs = "@TERMUX_PREFIX@/local/share/:@TERMUX_PREFIX@/share/";
/* Work out how many dirs were dealing with. */
if (xdg_data_home != NULL || home != NULL)