diff options
author | marcus <marcus@FreeBSD.org> | 2006-12-03 15:35:23 +0800 |
---|---|---|
committer | marcus <marcus@FreeBSD.org> | 2006-12-03 15:35:23 +0800 |
commit | 5495e0127a1d0d584578a7b2bd39447cdfaebb8e (patch) | |
tree | 0a41e2a908bca1956e2c986cd9e6c358fb3fb82e /sysutils | |
parent | 14e611b40a6d5423139158fe9c79af47853e7063 (diff) | |
download | freebsd-ports-gnome-5495e0127a1d0d584578a7b2bd39447cdfaebb8e.tar.gz freebsd-ports-gnome-5495e0127a1d0d584578a7b2bd39447cdfaebb8e.tar.zst freebsd-ports-gnome-5495e0127a1d0d584578a7b2bd39447cdfaebb8e.zip |
Fix gnome-mount on 64-bit platforms. This corrects a crash seen when
viewing properties on volumes in Nautilus. Thanks to obrien for the
amd64 donation to the FreeBSD GNOME project.
Diffstat (limited to 'sysutils')
-rw-r--r-- | sysutils/gnome-mount/Makefile | 2 | ||||
-rw-r--r-- | sysutils/gnome-mount/files/patch-src_gnome-mount-properties-view.c | 10 | ||||
-rw-r--r-- | sysutils/gnome-mount/files/patch-src_gnome-mount-properties.c | 21 |
3 files changed, 32 insertions, 1 deletions
diff --git a/sysutils/gnome-mount/Makefile b/sysutils/gnome-mount/Makefile index a2ce2104fbb4..10d74b2b0cc9 100644 --- a/sysutils/gnome-mount/Makefile +++ b/sysutils/gnome-mount/Makefile @@ -8,7 +8,7 @@ PORTNAME= gnome-mount PORTVERSION= 0.4 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= sysutils gnome MASTER_SITES= http://people.freedesktop.org/~david/dist/ diff --git a/sysutils/gnome-mount/files/patch-src_gnome-mount-properties-view.c b/sysutils/gnome-mount/files/patch-src_gnome-mount-properties-view.c new file mode 100644 index 000000000000..e33d84fd3192 --- /dev/null +++ b/sysutils/gnome-mount/files/patch-src_gnome-mount-properties-view.c @@ -0,0 +1,10 @@ +--- src/gnome-mount-properties-view.c.orig Sun Dec 3 02:24:16 2006 ++++ src/gnome-mount-properties-view.c Sun Dec 3 02:25:20 2006 +@@ -30,6 +30,7 @@ + #include <glib/gi18n.h> + #include <gtk/gtk.h> + #include <glade/glade.h> ++#include <libgnomevfs/gnome-vfs-utils.h> + #include <time.h> + #include <sys/time.h> + #include <string.h> diff --git a/sysutils/gnome-mount/files/patch-src_gnome-mount-properties.c b/sysutils/gnome-mount/files/patch-src_gnome-mount-properties.c new file mode 100644 index 000000000000..ad32f4a52a73 --- /dev/null +++ b/sysutils/gnome-mount/files/patch-src_gnome-mount-properties.c @@ -0,0 +1,21 @@ +--- src/gnome-mount-properties.c.orig Sun Dec 3 02:25:59 2006 ++++ src/gnome-mount-properties.c Sun Dec 3 02:30:25 2006 +@@ -27,6 +27,8 @@ + #include <libhal.h> + #include <libhal-storage.h> + ++#include <gtk/gtk.h> ++ + #include <libnautilus-extension/nautilus-extension-types.h> + #include <libnautilus-extension/nautilus-info-provider.h> + #include <libnautilus-extension/nautilus-property-page-provider.h> +@@ -202,7 +204,8 @@ gnome_mount_properties_plugin_register_t + NULL, + sizeof (GObject), + 0, +- (GInstanceInitFunc) NULL ++ (GInstanceInitFunc) NULL, ++ (const GTypeValueTable *) NULL + }; + + static const GInterfaceInfo property_page_provider_iface_info = { |