From 634db1d4f01dc5ac8cb1d49dfe3ff2e4f156512b Mon Sep 17 00:00:00 2001 From: drochner Date: Fri, 30 Aug 2002 08:19:11 +0000 Subject: round up to an even TOC len to avoid ATAPI driver complaints --- sysutils/cdrdao/distinfo | 3 ++- sysutils/cdrdao/patches/patch-ad | 12 ++++++++++++ 2 files changed, 14 insertions(+), 1 deletion(-) create mode 100644 sysutils/cdrdao/patches/patch-ad diff --git a/sysutils/cdrdao/distinfo b/sysutils/cdrdao/distinfo index fd6f6b3d214..c3647de06ee 100644 --- a/sysutils/cdrdao/distinfo +++ b/sysutils/cdrdao/distinfo @@ -1,7 +1,8 @@ -$NetBSD: distinfo,v 1.4 2002/01/07 10:16:44 tron Exp $ +$NetBSD: distinfo,v 1.5 2002/08/30 08:19:11 drochner Exp $ SHA1 (cdrdao-1.1.5.src.tar.gz) = f766277957b8d4eeaa7ec1162ded9b0bf04c4c79 Size (cdrdao-1.1.5.src.tar.gz) = 868001 bytes SHA1 (patch-aa) = 1856f36a9dd0a5d248e94a079a63fafcff045554 SHA1 (patch-ab) = 071fedfbc598400d9d41e050aa01c5902e97caaa SHA1 (patch-ac) = 92e971a906662feea0311c4f274743bbf9667b47 +SHA1 (patch-ad) = e10ec407f4c4200e443364077ab6d56e1d3cd2d3 diff --git a/sysutils/cdrdao/patches/patch-ad b/sysutils/cdrdao/patches/patch-ad new file mode 100644 index 00000000000..31859137fc4 --- /dev/null +++ b/sysutils/cdrdao/patches/patch-ad @@ -0,0 +1,12 @@ +$NetBSD: patch-ad,v 1.1 2002/08/30 08:19:12 drochner Exp $ + +--- dao/GenericMMC.cc.orig Thu Aug 15 17:54:49 2002 ++++ dao/GenericMMC.cc Thu Aug 15 17:57:53 2002 +@@ -1693,6 +1693,7 @@ + } + + dataLen = ((reqData[0] << 8) | reqData[1]) + 2; ++ dataLen = (dataLen + 1) & ~1; + + message(4, "Raw toc data len: %d", dataLen); + -- cgit v1.2.3