summaryrefslogtreecommitdiffstats
path: root/devel/glib20/files/patch-gio_gunixvolume.c
diff options
context:
space:
mode:
Diffstat (limited to 'devel/glib20/files/patch-gio_gunixvolume.c')
-rw-r--r--devel/glib20/files/patch-gio_gunixvolume.c17
1 files changed, 0 insertions, 17 deletions
diff --git a/devel/glib20/files/patch-gio_gunixvolume.c b/devel/glib20/files/patch-gio_gunixvolume.c
deleted file mode 100644
index 377a7d6b5..000000000
--- a/devel/glib20/files/patch-gio_gunixvolume.c
+++ /dev/null
@@ -1,17 +0,0 @@
---- gio/gunixvolume.c.orig 2007-12-23 15:43:17.000000000 -0500
-+++ gio/gunixvolume.c 2007-12-23 15:47:08.000000000 -0500
-@@ -387,9 +387,13 @@ g_unix_volume_eject (GVolume *volume,
- gpointer user_data)
- {
- GUnixVolume *unix_volume = G_UNIX_VOLUME (volume);
-+#ifdef __FreeBSD__
-+ char *argv[] = {"cdcontrol", "-f", NULL, "eject", NULL};
-+ argv[2] = unix_volume->device_path;
-+#else
- char *argv[] = {"eject", NULL, NULL};
--
- argv[1] = unix_volume->device_path;
-+#endif
-
- eject_mount_do (volume, cancellable, callback, user_data, argv);
- }