summaryrefslogtreecommitdiff
path: root/devel/glib2/patches/patch-cb
blob: 3b554df0aaceec1e8af00872eea332e4d3cf06ad (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
$NetBSD: patch-cb,v 1.3 2012/05/01 18:45:52 adam Exp $

--- gio/xdgmime/xdgmime.c.orig	2008-09-02 15:09:17.000000000 +0000
+++ gio/xdgmime/xdgmime.c
@@ -257,7 +257,7 @@ xdg_run_command_on_dirs (XdgDirectoryFun
 
   xdg_data_dirs = getenv ("XDG_DATA_DIRS");
   if (xdg_data_dirs == NULL)
-    xdg_data_dirs = "/usr/local/share/:/usr/share/";
+    xdg_data_dirs = PREFIX "/share/";
 
   ptr = xdg_data_dirs;