diff options
author | jmcneill <jmcneill@pkgsrc.org> | 2008-05-10 17:13:11 +0000 |
---|---|---|
committer | jmcneill <jmcneill@pkgsrc.org> | 2008-05-10 17:13:11 +0000 |
commit | 1a9f06449597b3ea801bb09796aec5ae13c56643 (patch) | |
tree | f4fbf80b137286613cb7da79939d071bd4ff33da /devel/glib2/patches/patch-cb | |
parent | 57b9d0c7a6489619100c3c2dda7977a7930d0364 (diff) | |
download | pkgsrc-1a9f06449597b3ea801bb09796aec5ae13c56643.tar.gz |
Use PREFIX to determine xdg share directory location, fixes mime type
detection with gvfs.
Diffstat (limited to 'devel/glib2/patches/patch-cb')
-rw-r--r-- | devel/glib2/patches/patch-cb | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/devel/glib2/patches/patch-cb b/devel/glib2/patches/patch-cb new file mode 100644 index 00000000000..534081faa87 --- /dev/null +++ b/devel/glib2/patches/patch-cb @@ -0,0 +1,13 @@ +$NetBSD: patch-cb,v 1.1 2008/05/10 17:13:12 jmcneill Exp $ + +--- gio/xdgmime/xdgmime.c.orig 2008-05-10 13:00:48.000000000 -0400 ++++ gio/xdgmime/xdgmime.c 2008-05-10 13:01:28.000000000 -0400 +@@ -236,7 +236,7 @@ + + 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; + |