1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-24 04:33:24 +00:00
freebsd-ports/devel/gvfs/files/patch-hal_ghalvolume.c
Joe Marcus Clarke 6f32add9a7 The FreeBSD GNOME team is proud to annunce the release of GNOME 2.22.0 for
FreeBSD.  The official GNOME 2.22 release notes can be found at
http://library.gnome.org/misc/release-notes/2.22/ .  On the FreeBSD front,
this release features an updated hal port with support for video4linux
devices, DRM (Direct Rendering), and better support of removable media.  Work
is also underway to tie webkit more closely into GNOME.  As part of the
GNOME 2.22 upgrade, GStreamer received a rather large upgrade as well.
Be sure to consult UPDATING on the proper steps to upgrade all of your
GNOME ports.

This release would not have been possible without the contributions and
testing efforts of the following people:

Pawel Worach
kan
edwin
Peter Ulrich Kruppa
J. W. Ballantine
Yasuda Keisuke
Andriy Gapon
2008-03-24 03:52:36 +00:00

15 lines
559 B
C

--- hal/ghalvolume.c.orig 2008-02-25 16:51:39.000000000 -0500
+++ hal/ghalvolume.c 2008-02-25 16:52:00.000000000 -0500
@@ -550,7 +550,11 @@ g_hal_volume_new (GVolumeMonitor *volu
return NULL;
/* TODO: other OS'es? Will address this with DK aka HAL 2.0 */
+#ifdef __FreeBSD__
+ device_path = hal_device_get_property_string (drive_device, "freebsd.device_file");
+#else
device_path = hal_device_get_property_string (drive_device, "linux.device_file");
+#endif
if (strlen (device_path) == 0)
device_path = NULL;