diff --git a/devel/gnome-vfsmm/files/patch-libgnomevfs::libgnomevfs::directory-handle.cc b/devel/gnome-vfsmm/files/patch-libgnomevfs::libgnomevfs::directory-handle.cc new file mode 100644 index 000000000000..0c3b32ea0b4c --- /dev/null +++ b/devel/gnome-vfsmm/files/patch-libgnomevfs::libgnomevfs::directory-handle.cc @@ -0,0 +1,35 @@ +--- libgnomevfs/libgnomevfsmm/directory-handle.cc.orig Thu Jun 19 11:43:18 2003 ++++ libgnomevfs/libgnomevfsmm/directory-handle.cc Thu Jun 19 11:45:32 2003 +@@ -97,13 +97,13 @@ + + void DirectoryHandle::open(const Glib::ustring& text_uri, FileInfoOptions options) throw(exception) + { +- GnomeVFSResult result = gnome_vfs_directory_open(&gobj_, text_uri.c_str(), static_cast(options) ); ++ GnomeVFSResult result = gnome_vfs_directory_open(&gobj_, text_uri.c_str(), GnomeVFSFileInfoOptions(options) ); + handle_result(result); + } + + void DirectoryHandle::open(const Glib::RefPtr& uri, FileInfoOptions options) throw(exception) + { +- GnomeVFSResult result = gnome_vfs_directory_open_from_uri(&gobj_, const_cast(uri->gobj()), static_cast(options) ); ++ GnomeVFSResult result = gnome_vfs_directory_open_from_uri(&gobj_, const_cast(uri->gobj()), GnomeVFSFileInfoOptions(options) ); + handle_result(result); + } + +@@ -132,14 +132,14 @@ + void DirectoryHandle::visit(const Glib::ustring& uri, FileInfoOptions info_options, DirectoryVisitOptions visit_options, const SlotVisit& slot) throw(exception) + { + SignalProxy_Visit proxy(slot); +- GnomeVFSResult result = gnome_vfs_directory_visit(uri.c_str(), static_cast(info_options), static_cast(visit_options), &SignalProxy_Visit::c_callback, &proxy); ++ GnomeVFSResult result = gnome_vfs_directory_visit(uri.c_str(), GnomeVFSFileInfoOptions(info_options), GnomeVFSDirectoryVisitOptions(visit_options), &SignalProxy_Visit::c_callback, &proxy); + handle_result(result); + } + + void DirectoryHandle::visit(const Glib::RefPtr& uri, FileInfoOptions info_options, DirectoryVisitOptions visit_options, const SlotVisit& slot) throw(exception) + { + SignalProxy_Visit proxy(slot); +- GnomeVFSResult result = gnome_vfs_directory_visit_uri(const_cast(uri->gobj()), static_cast(info_options), static_cast(visit_options), &SignalProxy_Visit::c_callback, &proxy); ++ GnomeVFSResult result = gnome_vfs_directory_visit_uri(const_cast(uri->gobj()), GnomeVFSFileInfoOptions(info_options), GnomeVFSDirectoryVisitOptions(visit_options), &SignalProxy_Visit::c_callback, &proxy); + handle_result(result); + } + diff --git a/devel/gnome-vfsmm/files/patch-libgnomevfs::libgnomevfs::handle.cc b/devel/gnome-vfsmm/files/patch-libgnomevfs::libgnomevfs::handle.cc new file mode 100644 index 000000000000..cd321c52c278 --- /dev/null +++ b/devel/gnome-vfsmm/files/patch-libgnomevfs::libgnomevfs::handle.cc @@ -0,0 +1,20 @@ +--- libgnomevfs/libgnomevfsmm/handle.cc.orig Thu Jun 19 11:46:18 2003 ++++ libgnomevfs/libgnomevfsmm/handle.cc Thu Jun 19 11:46:58 2003 +@@ -108,7 +108,7 @@ + Glib::RefPtr Handle::get_file_info(const Glib::ustring& text_uri, FileInfoOptions options) throw(exception) + { + GnomeVFSFileInfo* file_info = gnome_vfs_file_info_new(); +- GnomeVFSResult result = gnome_vfs_get_file_info(text_uri.c_str(), file_info, static_cast(options)); ++ GnomeVFSResult result = gnome_vfs_get_file_info(text_uri.c_str(), file_info, GnomeVFSFileInfoOptions(options)); + handle_result(result); + return Glib::wrap(file_info); + } +@@ -116,7 +116,7 @@ + Glib::RefPtr Handle::get_file_info(FileInfoOptions options) const throw(exception) + { + GnomeVFSFileInfo* file_info = gnome_vfs_file_info_new(); +- GnomeVFSResult result = gnome_vfs_get_file_info_from_handle(const_cast(gobj()), file_info, static_cast(options)); ++ GnomeVFSResult result = gnome_vfs_get_file_info_from_handle(const_cast(gobj()), file_info, GnomeVFSFileInfoOptions(options)); + handle_result(result); + return Glib::wrap(file_info); + } diff --git a/devel/gnome-vfsmm/files/patch-libgnomevfs::libgnomevfs::uri.cc b/devel/gnome-vfsmm/files/patch-libgnomevfs::libgnomevfs::uri.cc new file mode 100644 index 000000000000..39887bcec6aa --- /dev/null +++ b/devel/gnome-vfsmm/files/patch-libgnomevfs::libgnomevfs::uri.cc @@ -0,0 +1,11 @@ +--- libgnomevfs/libgnomevfsmm/uri.cc.orig Thu Jun 19 11:25:08 2003 ++++ libgnomevfs/libgnomevfsmm/uri.cc Thu Jun 19 11:44:28 2003 +@@ -66,7 +66,7 @@ + Glib::RefPtr Uri::get_file_info(FileInfoOptions options) const throw(exception) + { + GnomeVFSFileInfo* file_info = gnome_vfs_file_info_new(); +- GnomeVFSResult result = gnome_vfs_get_file_info_uri(const_cast(gobj()), file_info, static_cast(options)); ++ GnomeVFSResult result = gnome_vfs_get_file_info_uri(const_cast(gobj()), file_info, GnomeVFSFileInfoOptions(options)); + handle_result(result); + return Glib::wrap(file_info); + }