openbsd-ports/devel/desktop-file-utils/patches/patch-src_eggdirfuncs_c
marcm e8ee10aaaa Import of desktop-file-utils, a freedesktop.org thing for handling
.desktop files and such.  Modified by me to use /var/db/gnome instead
or writing 'databases' all over /etc
2005-04-12 21:09:45 +00:00

13 lines
466 B
Plaintext

$OpenBSD: patch-src_eggdirfuncs_c,v 1.1.1.1 2005/04/12 21:09:45 marcm Exp $
--- src/eggdirfuncs.c.orig Mon Dec 27 17:15:00 2004
+++ src/eggdirfuncs.c Mon Dec 27 17:15:54 2004
@@ -106,7 +106,7 @@ egg_get_secondary_data_dirs (void)
data_dirs = (gchar *) g_getenv ("XDG_DATA_DIRS");
if (!data_dirs || !data_dirs[0])
- data_dirs = "/usr/local/share/:/usr/share/";
+ data_dirs = "/usr/local/share/";
data_dir_vector = g_strsplit (data_dirs, ":", 0);