patches/rhythmbox-04-gvfs.diff
author yippi
Mon, 27 Sep 2010 21:07:51 +0000
changeset 20108 51df67ca9307
parent 17915 ee1445593cad
permissions -rw-r--r--
I had these modules listed as being owned by me, but they are really owned by wangke, correcting.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
17915
ee1445593cad 2010-04-22 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
     1
--- rhythmbox-0.12.8/plugins/audiocd/sj-metadata-gvfs.c-orig	2010-04-22 14:55:51.256006909 -0500
ee1445593cad 2010-04-22 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
     2
+++ rhythmbox-0.12.8/plugins/audiocd/sj-metadata-gvfs.c	2010-04-22 14:59:55.773015425 -0500
ee1445593cad 2010-04-22 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
     3
@@ -63,7 +63,11 @@ device_to_cdda_uri (const char *device)
ee1445593cad 2010-04-22 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
     4
 {
ee1445593cad 2010-04-22 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
     5
   if (g_str_has_prefix (device, "/dev/") == FALSE)
ee1445593cad 2010-04-22 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
     6
     return NULL;
ee1445593cad 2010-04-22 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
     7
+#ifdef __sun
ee1445593cad 2010-04-22 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
     8
+  return g_strdup_printf ("cdda://%s", device + strlen ("/dev/rdsk/"));
ee1445593cad 2010-04-22 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
     9
+#else
ee1445593cad 2010-04-22 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    10
   return g_strdup_printf ("cdda://%s", device + strlen ("/dev/"));
ee1445593cad 2010-04-22 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    11
+#endif
ee1445593cad 2010-04-22 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    12
 }
ee1445593cad 2010-04-22 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    13
 
ee1445593cad 2010-04-22 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    14
 static GList *