summaryrefslogtreecommitdiff
path: root/audio
diff options
context:
space:
mode:
authortron <tron@pkgsrc.org>2002-01-25 08:38:34 +0000
committertron <tron@pkgsrc.org>2002-01-25 08:38:34 +0000
commit15435c49f80a61031a2df7d46cbfd5335c1be923 (patch)
tree9c07cd877a6d94b701a5c93c695a14a2d53158a7 /audio
parentd4fadb8f031b8be14e5851e1e7216fb4154054b1 (diff)
downloadpkgsrc-15435c49f80a61031a2df7d46cbfd5335c1be923.tar.gz
Add kludge to fix problems with CDDB entries with genre "unclass" which
are for some reason not recognized although such entries exist.
Diffstat (limited to 'audio')
-rw-r--r--audio/xmcd/distinfo3
-rw-r--r--audio/xmcd/patches/patch-ah13
2 files changed, 15 insertions, 1 deletions
diff --git a/audio/xmcd/distinfo b/audio/xmcd/distinfo
index 780c9cdaf56..ef257f2fc24 100644
--- a/audio/xmcd/distinfo
+++ b/audio/xmcd/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.8 2002/01/10 20:56:25 tron Exp $
+$NetBSD: distinfo,v 1.9 2002/01/25 08:38:34 tron Exp $
SHA1 (xmcd-3.0.2.tar.gz) = 10258f299f917c94780d3e6d9feb57535d4603b5
Size (xmcd-3.0.2.tar.gz) = 690285 bytes
@@ -11,3 +11,4 @@ SHA1 (patch-ad) = b62086c7f1801cf500cb8bc93e262e97f015b540
SHA1 (patch-ae) = 3de0e9fd004fcb6012f033739ff1b66bd059d655
SHA1 (patch-af) = e8bc1a3b791f6df15f12f074712a55423fa3fadf
SHA1 (patch-ag) = cdca79fa131a6b2e74c7cea377167f8d0290c162
+SHA1 (patch-ah) = bae28364d50709529cad5ce5ebf3362dd14cf99b
diff --git a/audio/xmcd/patches/patch-ah b/audio/xmcd/patches/patch-ah
new file mode 100644
index 00000000000..788fa4801fc
--- /dev/null
+++ b/audio/xmcd/patches/patch-ah
@@ -0,0 +1,13 @@
+$NetBSD: patch-ah,v 1.1 2002/01/25 08:38:34 tron Exp $
+
+--- cdinfo_d/cdinfo_i.c.orig Fri Jan 25 09:23:13 2002
++++ cdinfo_d/cdinfo_i.c Fri Jan 25 09:26:30 2002
+@@ -2100,7 +2100,7 @@
+ return FALSE;
+ if (!cdinfo_puts(pp, XMCD_PIPESIG "match.genre"))
+ return FALSE;
+- if (!cdinfo_puts(pp, p->genre))
++ if (!cdinfo_puts(pp, (p->genre == NULL) ? "221" : p->genre))
+ return FALSE;
+ }
+