source: build-files/ports-overlay/devel/gvfs/files/patch-monitor_gphoto2_ggphoto2volume.c @ 7e7a980

9.2-releasereleng/10.0releng/10.0.1releng/10.0.2releng/10.0.3
Last change on this file since 7e7a980 was 7e7a980, checked in by Kris Moore <kris@…>, 11 months ago

Try to fix gvfs on 10

  • Property mode set to 100644
File size: 567 bytes
Line 
1--- monitor/gphoto2/ggphoto2volume.c.orig       2008-07-22 09:29:19.000000000 -0400
2+++ monitor/gphoto2/ggphoto2volume.c    2008-07-22 23:22:30.000000000 -0400
3@@ -277,7 +277,11 @@ g_gphoto2_volume_new (GVolumeMonitor   *
4     return NULL;
5 
6   /* TODO: other OS'es? Will address this with DK aka HAL 2.0 */
7+#ifdef __FreeBSD__
8+  device_path = hal_device_get_property_string (drive_device, "freebsd.device_file");
9+#else
10   device_path = hal_device_get_property_string (drive_device, "linux.device_file");
11+#endif
12   if (strlen (device_path) == 0)
13     device_path = NULL;
14 
Note: See TracBrowser for help on using the repository browser.