diff options
author | mezz <mezz@FreeBSD.org> | 2012-05-21 00:24:31 +0800 |
---|---|---|
committer | mezz <mezz@FreeBSD.org> | 2012-05-21 00:24:31 +0800 |
commit | 582bea060720adefc554064e04a3736b278490a9 (patch) | |
tree | 92f7525cb05b4a9f007ad0a1a14ab628702df44a /audio | |
parent | f9fca80acf1bb54e3d4d8c2222d5ff6679767b76 (diff) | |
download | freebsd-ports-gnome-582bea060720adefc554064e04a3736b278490a9.tar.gz freebsd-ports-gnome-582bea060720adefc554064e04a3736b278490a9.tar.zst freebsd-ports-gnome-582bea060720adefc554064e04a3736b278490a9.zip |
Fix the crash when disable musicbrainz, bump the PORTREVISION.
PR: ports/166817
Submitted by: Shin-ichi Okano <s-okano@n08.itscom.net>
Obtained from: Its git
Diffstat (limited to 'audio')
-rw-r--r-- | audio/sound-juicer/Makefile | 2 | ||||
-rw-r--r-- | audio/sound-juicer/files/patch-src_sj-main.c | 17 |
2 files changed, 18 insertions, 1 deletions
diff --git a/audio/sound-juicer/Makefile b/audio/sound-juicer/Makefile index 47dde8cbbfa0..9eba2fdedc7d 100644 --- a/audio/sound-juicer/Makefile +++ b/audio/sound-juicer/Makefile @@ -8,7 +8,7 @@ PORTNAME= sound-juicer PORTVERSION= 2.32.0 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= audio gnome MASTER_SITES= GNOME DIST_SUBDIR= gnome2 diff --git a/audio/sound-juicer/files/patch-src_sj-main.c b/audio/sound-juicer/files/patch-src_sj-main.c new file mode 100644 index 000000000000..7c7103af3aa0 --- /dev/null +++ b/audio/sound-juicer/files/patch-src_sj-main.c @@ -0,0 +1,17 @@ +--- 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); |