aboutsummaryrefslogtreecommitdiffstats
path: root/audio/p5-Net-DAAP-DMAP
diff options
context:
space:
mode:
authorlth <lth@FreeBSD.org>2004-08-21 21:23:15 +0800
committerlth <lth@FreeBSD.org>2004-08-21 21:23:15 +0800
commitcfa64a4db340b1566ba8d1c3af849931d69cca84 (patch)
tree01992485d9d87989c91d0ec24a961d4c241a3930 /audio/p5-Net-DAAP-DMAP
parent71ab69dbafd9f52c735133e752f5093188e74aea (diff)
downloadfreebsd-ports-gnome-cfa64a4db340b1566ba8d1c3af849931d69cca84.tar.gz
freebsd-ports-gnome-cfa64a4db340b1566ba8d1c3af849931d69cca84.tar.zst
freebsd-ports-gnome-cfa64a4db340b1566ba8d1c3af849931d69cca84.zip
- update to 1.25
- avoid 'uninitialized' warning (patch sent to author)
Diffstat (limited to 'audio/p5-Net-DAAP-DMAP')
-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