diff options
Diffstat (limited to 'devel/gnomevfs2/files/patch-libgnomevfs_xdgmime.c')
-rw-r--r-- | devel/gnomevfs2/files/patch-libgnomevfs_xdgmime.c | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/devel/gnomevfs2/files/patch-libgnomevfs_xdgmime.c b/devel/gnomevfs2/files/patch-libgnomevfs_xdgmime.c deleted file mode 100644 index 21ce33515..000000000 --- a/devel/gnomevfs2/files/patch-libgnomevfs_xdgmime.c +++ /dev/null @@ -1,22 +0,0 @@ ---- libgnomevfs/xdgmime.c.orig Wed Jan 7 13:44:02 2004 -+++ libgnomevfs/xdgmime.c Tue Jan 13 01:55:41 2004 -@@ -97,7 +97,7 @@ - - xdg_data_dirs = getenv ("XDG_DATA_DIRS"); - if (xdg_data_dirs == NULL) -- xdg_data_dirs = "/usr/local/share/:/usr/share/"; -+ xdg_data_dirs = "%%LOCALBASE%%/share/:/usr/share/"; - - ptr = xdg_data_dirs; - -@@ -121,8 +121,9 @@ - len = end_ptr - ptr; - else - len = end_ptr - ptr + 1; -- dir = malloc (len); -+ dir = malloc (len + 1); - strncpy (dir, ptr, len); -+ dir[len] = '\0'; - _xdg_mime_init_from_directory (dir); - free (dir); - |