summaryrefslogtreecommitdiff
path: root/sysutils/gvfs/patches/patch-ag
diff options
context:
space:
mode:
authordrochner <drochner@pkgsrc.org>2009-12-09 18:53:49 +0000
committerdrochner <drochner@pkgsrc.org>2009-12-09 18:53:49 +0000
commit1cd0192cdcab681f4427f8d3ec72c67412491cb5 (patch)
treeb0b2fa0aad8d45d8c57966691948772c5116c270 /sysutils/gvfs/patches/patch-ag
parent70e5d89ef8190b904bb9ff806b0202ade365e393 (diff)
downloadpkgsrc-1cd0192cdcab681f4427f8d3ec72c67412491cb5.tar.gz
update to 1.4.2
this switches to the gnome-2.28 release branch
Diffstat (limited to 'sysutils/gvfs/patches/patch-ag')
-rw-r--r--sysutils/gvfs/patches/patch-ag16
1 files changed, 16 insertions, 0 deletions
diff --git a/sysutils/gvfs/patches/patch-ag b/sysutils/gvfs/patches/patch-ag
new file mode 100644
index 00000000000..4cfe46ecd84
--- /dev/null
+++ b/sysutils/gvfs/patches/patch-ag
@@ -0,0 +1,16 @@
+$NetBSD: patch-ag,v 1.1 2009/12/09 18:53:49 drochner Exp $
+
+--- monitor/hal/ghaldrive.c.orig 2009-10-25 16:52:31.000000000 +0100
++++ monitor/hal/ghaldrive.c
+@@ -377,7 +377,11 @@ g_hal_drive_new (GVolumeMonitor *v
+ drive = g_object_new (G_TYPE_HAL_DRIVE, NULL);
+ drive->volume_monitor = volume_monitor;
+ g_object_add_weak_pointer (G_OBJECT (volume_monitor), (gpointer) &(drive->volume_monitor));
++#ifdef __NetBSD__
++ drive->device_path = g_strdup (hal_device_get_property_string (device, "block.netbsd.raw_device"));
++#else
+ drive->device_path = g_strdup (hal_device_get_property_string (device, "block.device"));
++#endif
+ drive->device = g_object_ref (device);
+ drive->pool = g_object_ref (pool);
+