summaryrefslogtreecommitdiffstats
path: root/x11-fm/nautilus
diff options
context:
space:
mode:
authormarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2003-08-04 14:00:06 +0800
committermarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2003-08-04 14:00:06 +0800
commit2cfb004ea2b5d04c6ba094344892e8e8dfb76dbe (patch)
tree3f08fb187f8409a26830b88835eb2c5775bea4d9 /x11-fm/nautilus
parentc8dfe8d0a25f394d9f3f8c628f88c3fad36f52a7 (diff)
downloadmarcuscom-ports-2cfb004ea2b5d04c6ba094344892e8e8dfb76dbe.tar
marcuscom-ports-2cfb004ea2b5d04c6ba094344892e8e8dfb76dbe.tar.gz
marcuscom-ports-2cfb004ea2b5d04c6ba094344892e8e8dfb76dbe.tar.bz2
marcuscom-ports-2cfb004ea2b5d04c6ba094344892e8e8dfb76dbe.tar.lz
marcuscom-ports-2cfb004ea2b5d04c6ba094344892e8e8dfb76dbe.tar.xz
marcuscom-ports-2cfb004ea2b5d04c6ba094344892e8e8dfb76dbe.tar.zst
marcuscom-ports-2cfb004ea2b5d04c6ba094344892e8e8dfb76dbe.zip
Fix a crash on logout with malloc debugging enabled.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@1012 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'x11-fm/nautilus')
-rw-r--r--x11-fm/nautilus/Makefile1
-rw-r--r--x11-fm/nautilus/files/patch-libnautilus-private_nautilus-desktop-directory.c14
2 files changed, 15 insertions, 0 deletions
diff --git a/x11-fm/nautilus/Makefile b/x11-fm/nautilus/Makefile
index 02779fbe9..ae1f54f79 100644
--- a/x11-fm/nautilus/Makefile
+++ b/x11-fm/nautilus/Makefile
@@ -7,6 +7,7 @@
PORTNAME= nautilus2
PORTVERSION= 2.3.7
+PORTREVISION= 1
CATEGORIES= x11-fm gnome
MASTER_SITES= ${MASTER_SITE_GNOME}
MASTER_SITE_SUBDIR= sources/${PORTNAME:S/2$//}/2.3
diff --git a/x11-fm/nautilus/files/patch-libnautilus-private_nautilus-desktop-directory.c b/x11-fm/nautilus/files/patch-libnautilus-private_nautilus-desktop-directory.c
new file mode 100644
index 000000000..c21a50b92
--- /dev/null
+++ b/x11-fm/nautilus/files/patch-libnautilus-private_nautilus-desktop-directory.c
@@ -0,0 +1,14 @@
+--- libnautilus-private/nautilus-desktop-directory.c.orig Mon Aug 4 01:14:37 2003
++++ libnautilus-private/nautilus-desktop-directory.c Mon Aug 4 01:14:54 2003
+@@ -409,10 +409,10 @@
+ desktop = NAUTILUS_DESKTOP_DIRECTORY (object);
+
+ nautilus_directory_unref (desktop->details->real_directory);
+- g_free (desktop->details);
+
+ g_hash_table_destroy (desktop->details->callbacks);
+ g_hash_table_destroy (desktop->details->monitors);
++ g_free (desktop->details);
+
+ G_OBJECT_CLASS (parent_class)->finalize (object);
+ }