Matthias Clasen 17 years ago
parent 6c23c73d99
commit 7c40eba7a6

@ -1 +1 @@
gnome-vfs-2.22.0.tar.bz2
gnome-vfs-2.23.0.tar.bz2

@ -1,30 +0,0 @@
diff -up gnome-vfs-2.19.91/libgnomevfs/xdgmimeglob.c.glob-leak gnome-vfs-2.19.91/libgnomevfs/xdgmimeglob.c
--- gnome-vfs-2.19.91/libgnomevfs/xdgmimeglob.c.glob-leak 2007-09-12 23:07:28.000000000 -0400
+++ gnome-vfs-2.19.91/libgnomevfs/xdgmimeglob.c 2007-09-12 23:07:34.000000000 -0400
@@ -263,7 +263,7 @@ _xdg_glob_hash_insert_text (XdgGlobHashN
{
child = _xdg_glob_hash_node_new ();
child->character = '\000';
- child->mime_type = mime_type;
+ child->mime_type = strdup (mime_type);
child->child = NULL;
child->next = node->child;
node->child = child;
@@ -272,7 +272,7 @@ _xdg_glob_hash_insert_text (XdgGlobHashN
}
else
{
- node->mime_type = mime_type;
+ node->mime_type = strdup (mime_type);
}
}
else
@@ -477,7 +477,7 @@ _xdg_glob_hash_append_glob (XdgGlobHash
glob_hash->literal_list = _xdg_glob_list_append (glob_hash->literal_list, strdup (glob), strdup (mime_type));
break;
case XDG_GLOB_SIMPLE:
- glob_hash->simple_node = _xdg_glob_hash_insert_text (glob_hash->simple_node, glob + 1, strdup (mime_type));
+ glob_hash->simple_node = _xdg_glob_hash_insert_text (glob_hash->simple_node, glob + 1, mime_type);
break;
case XDG_GLOB_FULL:
glob_hash->full_list = _xdg_glob_list_append (glob_hash->full_list, strdup (glob), strdup (mime_type));

@ -13,13 +13,13 @@
Summary: The GNOME virtual file-system libraries
Name: gnome-vfs2
Version: 2.22.0
Release: 4%{?dist}
Version: 2.23.0
Release: 1%{?dist}
License: LGPLv2+ and GPLv2+
# the daemon and the library are LGPLv2+
# the modules are LGPLv2+ and GPLv2+
Group: System Environment/Libraries
Source0: http://download.gnome.org/sources/gnome-vfs/2.22/gnome-vfs-%{version}.tar.bz2
Source0: http://download.gnome.org/sources/gnome-vfs/2.23/gnome-vfs-%{version}.tar.bz2
URL: http://www.gnome.org/
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Requires: gnome-mime-data >= %{gnome_mime_data_version}
@ -71,16 +71,10 @@ Patch6: gnome-vfs-2.15.91-mailto-command.patch
# http://bugzilla.gnome.org/show_bug.cgi?id=356772
Patch8: gnome-vfs-2.16.0-no-dbus.patch
# http://bugzilla.gnome.org/show_bug.cgi?id=427958
Patch9: glob-leak.patch
# https://bugzilla.redhat.com/show_bug.cgi?id=333041
# https://bugzilla.redhat.com/show_bug.cgi?id=335241
Patch300: gnome-vfs-2.20.0-ignore-certain-mountpoints.patch
# http://bugzilla.gnome.org/show_bug.cgi?id=544485
Patch402: xdgmime.patch
%description
GNOME VFS is the GNOME virtual file system. It is the foundation of
the Nautilus file manager. It provides a modular architecture and
@ -127,15 +121,11 @@ shares (SMB) to applications using GNOME VFS.
%patch101 -p1 -b .schema_about
%patch104 -p1 -b .browser_default
# %patch201 -p0 -b .console
%patch8 -p1 -b .no-dbus
%patch9 -p1 -b .glob-leak
%patch300 -p1 -b .ignore-certain-mount-points
%patch402 -p1 -b .xdgmime
# for patch 10
autoheader
autoconf

@ -1 +1 @@
369105fd82cb99e69e63acab8f3b89b7 gnome-vfs-2.22.0.tar.bz2
c1650c4432d2af7c0c05e2b75c4c19d0 gnome-vfs-2.23.0.tar.bz2

File diff suppressed because it is too large Load Diff
Loading…
Cancel
Save