diff options
Diffstat (limited to 'audio/abcde/patches')
-rw-r--r-- | audio/abcde/patches/patch-ab | 4 | ||||
-rw-r--r-- | audio/abcde/patches/patch-abcde-musicbrainz-tool | 20 |
2 files changed, 23 insertions, 1 deletions
diff --git a/audio/abcde/patches/patch-ab b/audio/abcde/patches/patch-ab index 1690894d1e8..9a7ddae9b07 100644 --- a/audio/abcde/patches/patch-ab +++ b/audio/abcde/patches/patch-ab @@ -1,4 +1,6 @@ -$NetBSD: patch-ab,v 1.10 2010/04/10 13:20:11 sekiya Exp $ +$NetBSD: patch-ab,v 1.11 2017/01/18 09:52:13 wiz Exp $ + +Adapt path in examplef or NetBSD. --- abcde.conf.orig 2006-10-02 03:26:11.000000000 +0900 +++ abcde.conf 2010-04-10 10:03:49.000000000 +0900 diff --git a/audio/abcde/patches/patch-abcde-musicbrainz-tool b/audio/abcde/patches/patch-abcde-musicbrainz-tool new file mode 100644 index 00000000000..60fa5fe4cdd --- /dev/null +++ b/audio/abcde/patches/patch-abcde-musicbrainz-tool @@ -0,0 +1,20 @@ +$NetBSD: patch-abcde-musicbrainz-tool,v 1.1 2017/01/18 09:52:13 wiz Exp $ + +Fix undefined variable problem. + +--- abcde-musicbrainz-tool.orig 2017-01-14 00:53:48.000000000 +0000 ++++ abcde-musicbrainz-tool +@@ -92,12 +92,12 @@ if ($command =~ m/^id/) { + foreach my $release (@releases) { + my $a_artist = $release->artist()->name(); + my $va = 0; ++ my $rel_year = ""; + if ($a_artist =~ /Various Artists/) { + $va = 1; + } + if ($release->release_event_list()->count() > 0) { + my @events = @{$release->release_event_list()->events()}; +- my $rel_year = ""; + $rel_year = substr($events[0]->date(),0,4); + } + |