diff options
author | Jeremy Messenger <mezz@FreeBSD.org> | 2006-10-23 18:03:38 +0000 |
---|---|---|
committer | Jeremy Messenger <mezz@FreeBSD.org> | 2006-10-23 18:03:38 +0000 |
commit | e3e78fb97015cbecf5e6dc6b702c9fb2e2764cb9 (patch) | |
tree | f4b12a02981f925a1898ecc64db17519d07a6493 /multimedia/totem/files | |
parent | ad55271af0177d6a6993c2ab99169c160ecf971a (diff) | |
download | ports-e3e78fb97015cbecf5e6dc6b702c9fb2e2764cb9.tar.gz ports-e3e78fb97015cbecf5e6dc6b702c9fb2e2764cb9.zip |
Notes
Diffstat (limited to 'multimedia/totem/files')
-rw-r--r-- | multimedia/totem/files/patch-src_totem.c | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/multimedia/totem/files/patch-src_totem.c b/multimedia/totem/files/patch-src_totem.c new file mode 100644 index 000000000000..da8b5dc31a1e --- /dev/null +++ b/multimedia/totem/files/patch-src_totem.c @@ -0,0 +1,14 @@ +--- src/totem.c.orig Sat Oct 21 22:10:07 2006 ++++ src/totem.c Sat Oct 21 22:11:56 2006 +@@ -339,7 +339,11 @@ + + g_object_get (G_OBJECT (totem->bvw), + "mediadev", &device, NULL); ++#if defined (__FreeBSD__) ++ cmd = g_strdup_printf ("cdcontrol -f %s eject", device); ++#else + cmd = g_strdup_printf ("eject %s", device); ++#endif + g_free (device); + + if (g_spawn_command_line_sync (cmd, NULL, NULL, NULL, &err) == FALSE) |