summaryrefslogtreecommitdiff
path: root/audio/mserv
diff options
context:
space:
mode:
authorabs <abs>2003-12-04 10:11:27 +0000
committerabs <abs>2003-12-04 10:11:27 +0000
commit1077908d16425ec14ed767673d544f78c672009a (patch)
tree23884125996880181a9e08e0f714bf6e9670b452 /audio/mserv
parentd35ca4e88c043e7681f44ed76fbd09a6f0f87752 (diff)
downloadpkgsrc-1077908d16425ec14ed767673d544f78c672009a.tar.gz
Update mserv to 0.35nb4:
- Handle upper and lowercase comment tags in .ogg files
Diffstat (limited to 'audio/mserv')
-rw-r--r--audio/mserv/Makefile4
-rw-r--r--audio/mserv/distinfo4
-rw-r--r--audio/mserv/patches/patch-ac12
3 files changed, 10 insertions, 10 deletions
diff --git a/audio/mserv/Makefile b/audio/mserv/Makefile
index fb65c256ef0..07a9fdf5308 100644
--- a/audio/mserv/Makefile
+++ b/audio/mserv/Makefile
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.15 2003/11/11 09:17:53 abs Exp $
+# $NetBSD: Makefile,v 1.16 2003/12/04 10:11:27 abs Exp $
#
DISTNAME= mserv-0.35
-PKGREVISION= 3
+PKGREVISION= 4
CATEGORIES= audio
MASTER_SITES= http://www.mserv.org/download/
diff --git a/audio/mserv/distinfo b/audio/mserv/distinfo
index 14a53c12088..15a42ee20cd 100644
--- a/audio/mserv/distinfo
+++ b/audio/mserv/distinfo
@@ -1,10 +1,10 @@
-$NetBSD: distinfo,v 1.14 2003/11/11 09:17:53 abs Exp $
+$NetBSD: distinfo,v 1.15 2003/12/04 10:11:27 abs Exp $
SHA1 (mserv-0.35.tar.gz) = 850835946e4d5a0deccdd22a18f30170c0a7b57c
Size (mserv-0.35.tar.gz) = 280299 bytes
SHA1 (patch-aa) = 22bb3f2af2494e50456c9b1bf136774b3b300aae
SHA1 (patch-ab) = 9d1b9fe0ee1b5392e2249b50d3e27426b17c9c04
-SHA1 (patch-ac) = c3506a7e206196eac7c72b477a9e748d10b50f52
+SHA1 (patch-ac) = 535900af6550bf340068fd10af7d7564ed2fb4c4
SHA1 (patch-af) = 2839b8e0c51a4c1c182173abc1c406b66a915ac4
SHA1 (patch-ag) = 232ce715468e8a59820b856a586dc708d65a2b5e
SHA1 (patch-am) = 925a304562d89c3aca32a3f07f00eab912e8d2dd
diff --git a/audio/mserv/patches/patch-ac b/audio/mserv/patches/patch-ac
index e92599c95bb..6fa97ffec88 100644
--- a/audio/mserv/patches/patch-ac
+++ b/audio/mserv/patches/patch-ac
@@ -1,4 +1,4 @@
-$NetBSD: patch-ac,v 1.8 2003/11/11 09:17:53 abs Exp $
+$NetBSD: patch-ac,v 1.9 2003/12/04 10:11:27 abs Exp $
--- mserv/mserv.c.orig Sun Aug 3 15:57:20 2003
+++ mserv/mserv.c
@@ -121,17 +121,17 @@ $NetBSD: patch-ac,v 1.8 2003/11/11 09:17:53 abs Exp $
+ *bitrate_ret = vi->bitrate_nominal/1024;
+
+ for (comment = vc->user_comments ; *comment ; ++comment) {
-+ if (strncmp(*comment, "title=", 6) == 0) {
++ if (strncasecmp(*comment, "title=", 6) == 0) {
+ strlcpy(id3tag->title, *comment + 6, MP3ID3_TITLELEN+1);
+ id3tag->present = 1;
+ }
-+ else if (strncmp(*comment, "artist=", 7) == 0)
++ else if (strncasecmp(*comment, "artist=", 7) == 0)
+ strlcpy(id3tag->artist, *comment + 7, MP3ID3_ARTISTLEN+1);
-+ else if (strncmp(*comment, "album=", 6) == 0)
++ else if (strncasecmp(*comment, "album=", 6) == 0)
+ strlcpy(id3tag->album, *comment + 6, MP3ID3_ALBUMLEN+1);
-+ else if (strncmp(*comment, "date=", 5) == 0)
++ else if (strncasecmp(*comment, "date=", 5) == 0)
+ strlcpy(id3tag->year, *comment + 5, MP3ID3_YEARLEN+1);
-+ else if (strncmp(*comment, "genre=", 6) == 0)
++ else if (strncasecmp(*comment, "genre=", 6) == 0)
+ strlcpy(id3tag->genre, *comment + 6, 31);
+ /* tracknumber ignored */
+ }