summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;
+ }
+