aboutsummaryrefslogtreecommitdiffstats
path: root/devel/gnome-vfsmm
diff options
context:
space:
mode:
authormarcus <marcus@FreeBSD.org>2003-06-19 11:17:08 +0800
committermarcus <marcus@FreeBSD.org>2003-06-19 11:17:08 +0800
commitfa601a11f8f1b985bcf5b8f2de48d96a145567af (patch)
tree7a77813492c6e4fc6d926bb9a45f6bd05ef16e1d /devel/gnome-vfsmm
parent09f22c89c86cd08c0dc0861ed9cb503245f266d0 (diff)
downloadfreebsd-ports-graphics-fa601a11f8f1b985bcf5b8f2de48d96a145567af.tar.gz
freebsd-ports-graphics-fa601a11f8f1b985bcf5b8f2de48d96a145567af.tar.zst
freebsd-ports-graphics-fa601a11f8f1b985bcf5b8f2de48d96a145567af.zip
Fix build on -STABLE.
Submitted by: maintainer Reported by: bento via kris
Diffstat (limited to 'devel/gnome-vfsmm')
-rw-r--r--devel/gnome-vfsmm/files/patch-libgnomevfs::libgnomevfs::directory-handle.cc35
-rw-r--r--devel/gnome-vfsmm/files/patch-libgnomevfs::libgnomevfs::handle.cc20
-rw-r--r--devel/gnome-vfsmm/files/patch-libgnomevfs::libgnomevfs::uri.cc11
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 00000000000..0c3b32ea0b4
--- /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 00000000000..cd321c52c27
--- /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 00000000000..39887bcec6a
--- /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);
+ }