patches/sound-juicer-04-gvfs.diff
author rohinis
Tue, 29 Nov 2011 17:32:55 +0000
branchs11express-2010-11
changeset 22234 c23e64da3e06
parent 17143 96674754a0b7
permissions -rwxr-xr-x
2011-11-29 Rohini S <[email protected]> * patches/Python26-22-audio.diff: Fixes CVE-2010-1634 * specs/SUNWPython26.spec: Fixes CR 7085446

--- sound-juicer-2.28.0-old/libjuicer/sj-metadata-gvfs.c	2009-09-23 15:35:02.342698000 +0800
+++ sound-juicer-2.28.0/libjuicer/sj-metadata-gvfs.c	2009-09-23 16:34:01.084099000 +0800
@@ -63,7 +63,11 @@
 {
   if (g_str_has_prefix (device, "/dev/") == FALSE)
     return NULL;
+#ifdef __sun    
+  return g_strdup_printf ("cdda://%s", device + strlen ("/dev/rdsk/"));
+#else  
   return g_strdup_printf ("cdda://%s", device + strlen ("/dev/"));
+#endif   
 }
 
 static GList *