diff --git a/nautilus-2.23.3-wrong-unref.patch b/nautilus-2.23.3-wrong-unref.patch new file mode 100644 index 0000000..5bb89ef --- /dev/null +++ b/nautilus-2.23.3-wrong-unref.patch @@ -0,0 +1,13 @@ +Index: libnautilus-private/nautilus-dnd.c +=================================================================== +--- libnautilus-private/nautilus-dnd.c (révision 14260) ++++ libnautilus-private/nautilus-dnd.c (copie de travail) +@@ -422,7 +422,7 @@ + *action = GDK_ACTION_MOVE; + } + +- g_free (target); ++ g_object_unref (target); + nautilus_file_unref (dropped_file); + nautilus_file_unref (target_file); + return; diff --git a/nautilus.spec b/nautilus.spec index 729c690..6c0f9f0 100644 --- a/nautilus.spec +++ b/nautilus.spec @@ -20,7 +20,7 @@ Name: nautilus Summary: Nautilus is a file manager for GNOME Version: 2.23.3 -Release: 1%{?dist} +Release: 2%{?dist} License: GPLv2+ Group: User Interface/Desktops Source: http://download.gnome.org/sources/%{name}/2.23/%{name}-%{version}.tar.bz2 @@ -102,6 +102,9 @@ Patch15: nautilus-2.22.0-treeview-xds-dnd.patch # http://bugzilla.gnome.org/show_bug.cgi?id=519743 Patch17: nautilus-filetype-symlink-fix.patch +# http://bugzilla.gnome.org/show_bug.cgi?id=537995 +Patch18: nautilus-2.23.3-wrong-unref.patch + %description Nautilus integrates access to files, applications, media, Internet-based resources and the Web. Nautilus delivers a dynamic and @@ -142,6 +145,7 @@ for writing nautilus extensions. %patch14 -p1 -b .default-to-asking %patch15 -p1 -b .xds %patch17 -p0 -b .symlink +%patch18 -p0 -b .dnd-segv %build @@ -260,6 +264,9 @@ fi %changelog +* Thu Jun 12 2008 Tomas Bzatek - 2.23.3-2 +- Fix DnD segfaults (#450416, #450449) + * Wed Jun 4 2008 Tomas Bzatek - 2.23.3-1 - Update to 2.23.3