diff options
Diffstat (limited to 'sysutils/gvfs/patches/patch-ag')
-rw-r--r-- | sysutils/gvfs/patches/patch-ag | 16 |
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); + |