update to 1.17

patch was taken upstream so remove it
from Jasper Lievisse Adriaanse (maintainer)
This commit is contained in:
steven 2006-03-29 08:14:28 +00:00
parent 7c3ec98270
commit 888bff7541
3 changed files with 6 additions and 35 deletions

View File

@ -1,8 +1,8 @@
# $OpenBSD: Makefile,v 1.16 2005/11/26 21:19:18 steven Exp $
# $OpenBSD: Makefile,v 1.17 2006/03/29 08:14:28 steven Exp $
COMMENT= "Perl5 module for CDDB"
DISTNAME= CDDB-1.16
DISTNAME= CDDB-1.17
PKGNAME= p5-${DISTNAME}
CATEGORIES= audio perl5

View File

@ -1,4 +1,4 @@
MD5 (CDDB-1.16.tar.gz) = 4753c73ac7162ab18d1508ae02d40014
RMD160 (CDDB-1.16.tar.gz) = 509a52aa11c034bb6bb629e9362ee57facc7715d
SHA1 (CDDB-1.16.tar.gz) = 212f71d1c22a597cb72df85212ea6e9d0a2f3152
SIZE (CDDB-1.16.tar.gz) = 22657
MD5 (CDDB-1.17.tar.gz) = b026752a6d25f70ed87a6854b15e93f7
RMD160 (CDDB-1.17.tar.gz) = 231dbff91171f8dc82c12269608420bb457a42e7
SHA1 (CDDB-1.17.tar.gz) = 015dd613f9bb37d2b820a377423d65fd8237092b
SIZE (CDDB-1.17.tar.gz) = 23047

View File

@ -1,29 +0,0 @@
$OpenBSD: patch-t_cddb_t,v 1.1 2005/11/26 21:19:18 steven Exp $
--- t/cddb.t.orig Sat Nov 26 20:19:34 2005
+++ t/cddb.t Sat Nov 26 20:55:04 2005
@@ -134,13 +134,13 @@ else {
print "not ok 12\n";
}
-### test looking up discs (one match)
+### test looking up discs (two matches)
my @discs = $cddb->get_discs($id, $track_offsets, $total_seconds);
-(@discs == 1) || print 'not '; print "ok 13\n";
+(@discs == 2) || print 'not '; print "ok 13\n";
-my ($genre, $cddb_id, $title) = @{$discs[0]};
+my ($genre, $cddb_id, $title) = @{$discs[1]};
($genre eq 'misc') || print 'not '; print "ok 14\n";
($cddb_id eq '03015501') || print 'not '; print "ok 15\n";
@@ -153,7 +153,7 @@ $cddb->disconnect();
my @other_discs = $cddb->get_discs_by_toc(@toc);
if (@other_discs) {
- (@other_discs == 1) || print 'not '; print "ok 17\n";
+ (@other_discs == 2) || print 'not '; print "ok 17\n";
($other_discs[0]->[0] eq $discs[0]->[0]) || print 'not '; print "ok 18\n";
($other_discs[0]->[1] eq $discs[0]->[1]) || print 'not '; print "ok 19\n";
($other_discs[0]->[2] eq $discs[0]->[2]) || print 'not '; print "ok 20\n";