ports/166817: [PATCH] audio/sound-juicer suddenly exits

Shin-ichi Okano s-okano at n08.itscom.net
Tue Apr 10 13:30:01 UTC 2012

>Number:         166817
>Category:       ports
>Synopsis:       [PATCH] audio/sound-juicer suddenly exits
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Apr 10 13:30:01 UTC 2012
>Originator:     Shin-ichi Okano
>Release:        9-STABLE
FreeBSD wombat.s-okano.n08.itscom.net 9.0-STABLE FreeBSD 9.0-STABLE #0 r233835: Tue Apr  3 20:57:43 JST 2012     s-okano at wombat.s-okano.n08.itscom.net:/usr/obj/usr/src/sys/WOMBAT  amd64
sound-juicer suddenly exits when inserting the disc whose information is not registered in musicbrainz.

This problem is caused by reference to unset variables.

Launch sound-juicer and insert the disc whose information is not 
registered in musicbrainz yet.
This is already fixed in upstream.
Applied the attached patch should fix this problem.
(See http://mail.gnome.org/archives/commits-list/2011-May/msg06778.html)

Patch attached with submission follows:

--- src/sj-main.c.orig	2012-02-14 16:44:03.000000000 +0900
+++ src/sj-main.c	2012-02-14 16:46:41.000000000 +0900
@@ -410,9 +410,11 @@
   g_return_val_if_fail (title != NULL, NULL);
   g_return_val_if_fail (artist != NULL, NULL);
-  infobar = gtk_info_bar_new_with_buttons (_("S_ubmit Album"), GTK_RESPONSE_OK,
-                                           GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL,
-                                           NULL);
+  infobar = gtk_info_bar_new ();
+  button = gtk_info_bar_add_button (GTK_INFO_BAR (infobar),
+                                    _("S_ubmit Album"), GTK_RESPONSE_OK);
+  gtk_info_bar_add_button (GTK_INFO_BAR (infobar),
+                           GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL);
   /* Translators: title, artist */
   primary_text = g_strdup_printf (_("Could not find %s by %s on MusicBrainz."), title, artist);


More information about the freebsd-ports-bugs mailing list