[proaudio] media-sound/swami fix

[ Thread Index | Date Index | More lists.tuxfamily.org/proaudio Archives ]


Hello,

the media-sound/swami-2.0.0 ebuild is broken. First, it does require libgnomecanvas and this dependency is missing in the ebuild, secondly it will crash upon start.

Here's a working patch from upstream; the patch itself is malformed at some point, some extra blank line somewhere, but applying the qsort line manually does the trick and I am sure somebody with more knowledge can fix the patchfile easily


Index: src/swamigui/SwamiguiMenu.c

===================================================================

--- src/swamigui/SwamiguiMenu.c	(revision 370)

+++ src/swamigui/SwamiguiMenu.c	(working copy)

@@ -373,7 +373,7 @@

   menu = gtk_menu_new ();



   types = swami_util_get_child_types (IPATCH_TYPE_BASE, &n_types);

-  qsort (types, sizeof (GType), n_types, sort_by_type_name);

+  qsort (types, n_types, sizeof (GType), sort_by_type_name);



   for (ptype = types; *ptype; ptype++)

     {




Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/