ports/devel/glib20/files/patch-glib_tests_utils.c
Tobias C. Berner 55cdb2679b devel/glib20: Fix mime search path when LOCALBASE != /usr/local (honour LOCALBASE)
- explicitely not bumping port revision, as the package does not change for people
  who are using the defaults LOCALBASE=/usr/local -- no need to burden the package
  builders for this.

PR:		225378
Submitted by:	John Hein <jcfyecrayz@liamekaens.com>
2021-02-12 19:40:20 +00:00

11 lines
290 B
C

--- glib/tests/utils.c.orig 2020-12-17 11:47:11 UTC
+++ glib/tests/utils.c
@@ -485,7 +485,7 @@ test_xdg_dirs (void)
xdg = (gchar *)g_getenv ("XDG_CONFIG_DIRS");
if (!xdg)
- xdg = "/etc/xdg";
+ xdg = "%%LOCALBASE%%/etc/xdg:/etc/xdg";
dirs = g_get_system_config_dirs ();