diff options
Diffstat (limited to 'devel/gnome-vfs/files/patch-libgnomevfs_gnome-vfs-volume-ops.c')
-rw-r--r-- | devel/gnome-vfs/files/patch-libgnomevfs_gnome-vfs-volume-ops.c | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/devel/gnome-vfs/files/patch-libgnomevfs_gnome-vfs-volume-ops.c b/devel/gnome-vfs/files/patch-libgnomevfs_gnome-vfs-volume-ops.c deleted file mode 100644 index 87e2eca65..000000000 --- a/devel/gnome-vfs/files/patch-libgnomevfs_gnome-vfs-volume-ops.c +++ /dev/null @@ -1,26 +0,0 @@ ---- libgnomevfs/gnome-vfs-volume-ops.c.orig Wed Dec 24 13:53:43 2003 -+++ libgnomevfs/gnome-vfs-volume-ops.c Wed Dec 24 13:56:15 2003 -@@ -224,12 +224,23 @@ - } - - if (info->should_eject) { -+#ifdef __FreeBSD__ -+ char *argv[5] = { -+ "cdcontrol", -+ "-f", -+ NULL, -+ "eject", -+ NULL -+ }; -+ argv[2] = info->device_path?info->device_path:info->mount_point; -+#else - char *argv[3] = { - "eject", - NULL, - NULL - }; - argv[1] = info->device_path?info->device_path:info->mount_point; -+#endif - - if (g_spawn_sync (NULL, - argv, |