diff options
Diffstat (limited to 'audio/albumplayer/patches/patch-aa')
-rw-r--r-- | audio/albumplayer/patches/patch-aa | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/audio/albumplayer/patches/patch-aa b/audio/albumplayer/patches/patch-aa new file mode 100644 index 00000000000..b21dc4e9e3f --- /dev/null +++ b/audio/albumplayer/patches/patch-aa @@ -0,0 +1,24 @@ +$NetBSD: patch-aa,v 1.1.1.1 2009/07/27 13:40:28 drochner Exp $ + +--- main.c.orig 2009-07-17 16:37:33.000000000 +0200 ++++ main.c +@@ -7,6 +7,7 @@ + #include <assert.h> + #include <gst/gst.h> + #include <libintl.h> ++#include <locale.h> + #include "config.h" + + #define _(x) gettext(x) +@@ -144,6 +145,11 @@ FLAC__byte* get_track_tag(unsigned tr, c + query_string = g_strdup_printf("%s(%d)", what, get_track_number(tr)); + + if((try = get_comment(query_string))) goto finished; ++ ++ g_free(query_string); ++ query_string = g_strdup_printf("%s[%d]", what, get_track_number(tr)); ++ ++ if((try = get_comment(query_string))) goto finished; + + if(!g_strcmp0(what,"TITLE")) + g_message(_("The %s tag is unset. Using %s instead."), |