aboutsummaryrefslogtreecommitdiff
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.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/devel/glib20/files/patch-gio_gunixvolume.c b/devel/glib20/files/patch-gio_gunixvolume.c
index 377a7d6b5686..b22563047d84 100644
--- a/devel/glib20/files/patch-gio_gunixvolume.c
+++ b/devel/glib20/files/patch-gio_gunixvolume.c
@@ -1,6 +1,6 @@
---- 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,
+--- gio/gunixvolume.c.orig 2009-11-30 04:35:27.000000000 +0100
++++ gio/gunixvolume.c 2009-12-08 19:32:03.000000000 +0100
+@@ -465,9 +465,14 @@ g_unix_volume_eject (GVolume
gpointer user_data)
{
GUnixVolume *unix_volume = G_UNIX_VOLUME (volume);
@@ -8,8 +8,8 @@
+ char *argv[] = {"cdcontrol", "-f", NULL, "eject", NULL};
+ argv[2] = unix_volume->device_path;
+#else
- char *argv[] = {"eject", NULL, NULL};
--
+ char *argv[] = { "eject", NULL, NULL };
+
argv[1] = unix_volume->device_path;
+#endif