summaryrefslogtreecommitdiff
path: root/misc
diff options
context:
space:
mode:
authordrochner <drochner@pkgsrc.org>2011-03-13 11:36:19 +0000
committerdrochner <drochner@pkgsrc.org>2011-03-13 11:36:19 +0000
commit8c71fb5dda10958bfa3f86eac7eb48ed3477f2dd (patch)
tree2c5852977786cd89e05c09f4b3f05e0630f8ef76 /misc
parent1a4634c4b2fec1a117dad358d52a0ed9743a727a (diff)
downloadpkgsrc-8c71fb5dda10958bfa3f86eac7eb48ed3477f2dd.tar.gz
in te NetBSD backend, fill in some metadata which are needed at least
for per-track CD-TEXT support (CD-TEXT does work basically, but it is unclear which encoding it is supposed to be, and who should sanitize the text, eg delete trailing garbage)
Diffstat (limited to 'misc')
-rw-r--r--misc/libcdio/Makefile3
-rw-r--r--misc/libcdio/distinfo3
-rw-r--r--misc/libcdio/patches/patch-ad14
3 files changed, 18 insertions, 2 deletions
diff --git a/misc/libcdio/Makefile b/misc/libcdio/Makefile
index 31d7af758ad..a3130a27e79 100644
--- a/misc/libcdio/Makefile
+++ b/misc/libcdio/Makefile
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.39 2009/10/31 02:49:09 wiz Exp $
+# $NetBSD: Makefile,v 1.40 2011/03/13 11:36:19 drochner Exp $
DISTNAME= libcdio-0.82
+PKGREVISION= 1
CATEGORIES= misc
MASTER_SITES= ${MASTER_SITE_GNU:=libcdio/}
diff --git a/misc/libcdio/distinfo b/misc/libcdio/distinfo
index e8ac90f5780..15415ac41a9 100644
--- a/misc/libcdio/distinfo
+++ b/misc/libcdio/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.21 2010/07/30 07:10:50 dholland Exp $
+$NetBSD: distinfo,v 1.22 2011/03/13 11:36:19 drochner Exp $
SHA1 (libcdio-0.82.tar.gz) = b3a87283a373eed816c15584c373ad6d2f95f09a
RMD160 (libcdio-0.82.tar.gz) = 48dc71f349235ab501985a296fd3deee295c167f
@@ -6,3 +6,4 @@ Size (libcdio-0.82.tar.gz) = 2240599 bytes
SHA1 (patch-aa) = 8e70ee2840c19da3efc0c47dfa9f7ea400a1ec2e
SHA1 (patch-ab) = 73bd86ecfa0c728eab231bce36317ab7f616fa4c
SHA1 (patch-ac) = 7bea49d753bb88d8fa2b5b87a4e9a327c5d7f05f
+SHA1 (patch-ad) = abf29432bdc06e901a734d659393e80ad8a608fe
diff --git a/misc/libcdio/patches/patch-ad b/misc/libcdio/patches/patch-ad
new file mode 100644
index 00000000000..15ba796d699
--- /dev/null
+++ b/misc/libcdio/patches/patch-ad
@@ -0,0 +1,14 @@
+$NetBSD: patch-ad,v 1.3 2011/03/13 11:36:19 drochner Exp $
+
+--- lib/driver/netbsd.c.orig 2008-11-29 04:52:43.000000000 +0000
++++ lib/driver/netbsd.c
+@@ -265,6 +265,9 @@ _cdio_read_toc(_img_private_t *_obj)
+ }
+
+ _obj->toc_valid = 1;
++ _obj->gen.i_first_track = FIRST_TRACK_NUM;
++ _obj->gen.i_tracks = TOTAL_TRACKS;
++ _obj->gen.toc_init = true;
+ return true;
+ }
+