diff options
author | Joe Marcus Clarke <marcus@FreeBSD.org> | 2003-06-19 03:17:08 +0000 |
---|---|---|
committer | Joe Marcus Clarke <marcus@FreeBSD.org> | 2003-06-19 03:17:08 +0000 |
commit | 5d89d1dc81ae6b97d8c1edf67c3ce723fbf84ee0 (patch) | |
tree | 7b2e721559f19d44951803eb3ac7e61a4d6d24be /devel/gnome-vfsmm | |
parent | cf50635e68d5580f412a760b8c2d9a410fb23485 (diff) | |
download | ports-5d89d1dc81ae6b97d8c1edf67c3ce723fbf84ee0.tar.gz ports-5d89d1dc81ae6b97d8c1edf67c3ce723fbf84ee0.zip |
Fix build on -STABLE.
Submitted by: maintainer
Reported by: bento via kris
Notes
Notes:
svn path=/head/; revision=83284
Diffstat (limited to 'devel/gnome-vfsmm')
3 files changed, 66 insertions, 0 deletions
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<GnomeVFSFileInfoOptions>(options) ); ++ GnomeVFSResult result = gnome_vfs_directory_open(&gobj_, text_uri.c_str(), GnomeVFSFileInfoOptions(options) ); + handle_result(result); + } + + void DirectoryHandle::open(const Glib::RefPtr<const Uri>& uri, FileInfoOptions options) throw(exception) + { +- GnomeVFSResult result = gnome_vfs_directory_open_from_uri(&gobj_, const_cast<GnomeVFSURI*>(uri->gobj()), static_cast<GnomeVFSFileInfoOptions>(options) ); ++ GnomeVFSResult result = gnome_vfs_directory_open_from_uri(&gobj_, const_cast<GnomeVFSURI*>(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<GnomeVFSFileInfoOptions>(info_options), static_cast<GnomeVFSDirectoryVisitOptions>(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<const Uri>& 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<GnomeVFSURI*>(uri->gobj()), static_cast<GnomeVFSFileInfoOptions>(info_options), static_cast<GnomeVFSDirectoryVisitOptions>(visit_options), &SignalProxy_Visit::c_callback, &proxy); ++ GnomeVFSResult result = gnome_vfs_directory_visit_uri(const_cast<GnomeVFSURI*>(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<FileInfo> 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<GnomeVFSFileInfoOptions>(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<FileInfo> 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<GnomeVFSHandle*>(gobj()), file_info, static_cast<GnomeVFSFileInfoOptions>(options)); ++ GnomeVFSResult result = gnome_vfs_get_file_info_from_handle(const_cast<GnomeVFSHandle*>(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<FileInfo> 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<GnomeVFSURI*>(gobj()), file_info, static_cast<GnomeVFSFileInfoOptions>(options)); ++ GnomeVFSResult result = gnome_vfs_get_file_info_uri(const_cast<GnomeVFSURI*>(gobj()), file_info, GnomeVFSFileInfoOptions(options)); + handle_result(result); + return Glib::wrap(file_info); + } |