summaryrefslogtreecommitdiffstats
path: root/devel/gnome-vfs/files/patch-libgnomevfs::gnome-vfs-application-registry.c
diff options
context:
space:
mode:
authormarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2002-10-08 05:58:04 +0800
committermarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2002-10-08 05:58:04 +0800
commitf4b05a2365d19365e7f603ba48d2388774267fa9 (patch)
tree22101431ed31fc0e5157906f91b38dd57fa84cd3 /devel/gnome-vfs/files/patch-libgnomevfs::gnome-vfs-application-registry.c
parent9a95b8c465cbf94ba6b58df1b81eb3da26c091b4 (diff)
downloadmarcuscom-ports-f4b05a2365d19365e7f603ba48d2388774267fa9.tar
marcuscom-ports-f4b05a2365d19365e7f603ba48d2388774267fa9.tar.gz
marcuscom-ports-f4b05a2365d19365e7f603ba48d2388774267fa9.tar.bz2
marcuscom-ports-f4b05a2365d19365e7f603ba48d2388774267fa9.tar.lz
marcuscom-ports-f4b05a2365d19365e7f603ba48d2388774267fa9.tar.xz
marcuscom-ports-f4b05a2365d19365e7f603ba48d2388774267fa9.tar.zst
marcuscom-ports-f4b05a2365d19365e7f603ba48d2388774267fa9.zip
Add gnomevfs2.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@7 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'devel/gnome-vfs/files/patch-libgnomevfs::gnome-vfs-application-registry.c')
-rw-r--r--devel/gnome-vfs/files/patch-libgnomevfs::gnome-vfs-application-registry.c29
1 files changed, 29 insertions, 0 deletions
diff --git a/devel/gnome-vfs/files/patch-libgnomevfs::gnome-vfs-application-registry.c b/devel/gnome-vfs/files/patch-libgnomevfs::gnome-vfs-application-registry.c
new file mode 100644
index 000000000..53a118250
--- /dev/null
+++ b/devel/gnome-vfs/files/patch-libgnomevfs::gnome-vfs-application-registry.c
@@ -0,0 +1,29 @@
+
+$FreeBSD: ports/devel/gnomevfs2/files/patch-libgnomevfs::gnome-vfs-application-registry.c,v 1.1 2002/06/13 08:46:21 sobomax Exp $
+
+--- libgnomevfs/gnome-vfs-application-registry.c 2002/06/13 07:31:15 1.1
++++ libgnomevfs/gnome-vfs-application-registry.c 2002/06/13 08:25:24
+@@ -940,6 +940,8 @@
+ static void
+ gnome_vfs_application_registry_init (void)
+ {
++ gchar *tmp;
++
+ if (gnome_vfs_application_registry_initialized)
+ return;
+
+@@ -961,6 +963,14 @@
+ gnome_registry_dir.dirname = g_strdup (DATADIR "/application-registry");
+ gnome_registry_dir.system_dir = TRUE;
+
++ tmp = g_strconcat (g_get_home_dir(), "/.gnome", NULL);
++ if (mkdir (tmp, 0700) &&
++ errno != EEXIST) {
++ g_warning("Could not create per-user Gnome configuration directory: %s",
++ tmp);
++ }
++ g_free(tmp);
++
+ user_registry_dir.dirname = g_strconcat (g_get_home_dir(), "/.gnome/application-info", NULL);
+ user_registry_dir.system_dir = FALSE;
+