- update to 1.25

- avoid 'uninitialized' warning (patch sent to author)
This commit is contained in:
Lars Thegler 2004-08-21 13:23:15 +00:00
parent 1b2733984a
commit 2fedd9011a
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=116937
3 changed files with 14 additions and 3 deletions

View file

@ -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

View file

@ -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

View file

@ -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