aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--audio/p5-Net-DAAP-DMAP/Makefile2
-rw-r--r--audio/p5-Net-DAAP-DMAP/distinfo4
-rw-r--r--audio/p5-Net-DAAP-DMAP/files/patch-lib::Net::DAAP::DMAP.pm11
3 files changed, 14 insertions, 3 deletions
diff --git a/audio/p5-Net-DAAP-DMAP/Makefile b/audio/p5-Net-DAAP-DMAP/Makefile
index a05f7b70245a..652828f96558 100644
--- a/audio/p5-Net-DAAP-DMAP/Makefile
+++ b/audio/p5-Net-DAAP-DMAP/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= Net-DAAP-DMAP
-PORTVERSION= 1.24
+PORTVERSION= 1.25
CATEGORIES= audio perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= Net
diff --git a/audio/p5-Net-DAAP-DMAP/distinfo b/audio/p5-Net-DAAP-DMAP/distinfo
index 71034004bebb..f11c71d63543 100644
--- a/audio/p5-Net-DAAP-DMAP/distinfo
+++ b/audio/p5-Net-DAAP-DMAP/distinfo
@@ -1,2 +1,2 @@
-MD5 (Net-DAAP-DMAP-1.24.tar.gz) = 52ff923aa4d8c3b2f59089e2e614c2be
-SIZE (Net-DAAP-DMAP-1.24.tar.gz) = 9335
+MD5 (Net-DAAP-DMAP-1.25.tar.gz) = c823ed3c848e3e6c5583cc508566a6f8
+SIZE (Net-DAAP-DMAP-1.25.tar.gz) = 9489
diff --git a/audio/p5-Net-DAAP-DMAP/files/patch-lib::Net::DAAP::DMAP.pm b/audio/p5-Net-DAAP-DMAP/files/patch-lib::Net::DAAP::DMAP.pm
new file mode 100644
index 000000000000..996c73061f20
--- /dev/null
+++ b/audio/p5-Net-DAAP-DMAP/files/patch-lib::Net::DAAP::DMAP.pm
@@ -0,0 +1,11 @@
+--- lib/Net/DAAP/DMAP.pm.orig Sat Aug 21 14:59:26 2004
++++ lib/Net/DAAP/DMAP.pm Sat Aug 21 15:09:13 2004
+@@ -387,7 +387,7 @@
+ my $struct = shift;
+ my $out = '';
+
+- my %by_name = map { $_->{NAME} => $_ } values %$Types;
++ my %by_name = map { $_->{NAME} => $_ } grep { %$_ } values %$Types;
+ for my $pair (@$struct) {
+ my ($name, $value) = @$pair;
+ # dmap_unpack doesn't populate the name when its decoded