pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/sysutils/cdrdao Make it compile on amd64. Actually, i...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/f656a39223a3
branches:  trunk
changeset: 476388:f656a39223a3
user:      cube <cube%pkgsrc.org@localhost>
date:      Tue Jun 08 22:36:09 2004 +0000

description:
Make it compile on amd64.  Actually, it should make it compile on any
long != int platform.  Should close PR 25878.

diffstat:

 sysutils/cdrdao/distinfo         |   3 ++-
 sysutils/cdrdao/patches/patch-ag |  13 +++++++++++++
 2 files changed, 15 insertions(+), 1 deletions(-)

diffs (31 lines):

diff -r 01792978065a -r f656a39223a3 sysutils/cdrdao/distinfo
--- a/sysutils/cdrdao/distinfo  Tue Jun 08 22:10:04 2004 +0000
+++ b/sysutils/cdrdao/distinfo  Tue Jun 08 22:36:09 2004 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.7 2004/05/29 08:05:08 dillo Exp $
+$NetBSD: distinfo,v 1.8 2004/06/08 22:36:09 cube Exp $
 
 SHA1 (cdrdao-1.1.8.tar.gz) = 6980acbf55817f83964b66205a9e8aa75e595695
 Size (cdrdao-1.1.8.tar.gz) = 1535530 bytes
@@ -7,3 +7,4 @@
 SHA1 (patch-ac) = 4608827f9202ef5aed35ddda426dc7a9574bc18f
 SHA1 (patch-ad) = 905ad1573a42b0753483e1b494c55a85ae5e5746
 SHA1 (patch-ae) = 42894e1de0bcb47ce65fcc64e4425ca718f7542b
+SHA1 (patch-ag) = 79f71410be2de6e23360b48c0adad31d99d7e5bf
diff -r 01792978065a -r f656a39223a3 sysutils/cdrdao/patches/patch-ag
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/cdrdao/patches/patch-ag  Tue Jun 08 22:36:09 2004 +0000
@@ -0,0 +1,13 @@
+$NetBSD: patch-ag,v 1.1 2004/06/08 22:36:09 cube Exp $
+
+--- trackdb/lec.cc.orig        2004-06-08 23:43:27.000000000 +0200
++++ trackdb/lec.cc
+@@ -278,7 +278,7 @@ static u_int32_t calc_edc(u_int8_t *data
+   u_int32_t crc = 0;
+ 
+   while (len--) {
+-    crc = CRCTABLE[(crc ^ *data++) & 0xffL] ^ (crc >> 8);
++    crc = CRCTABLE[(int)((crc ^ *data++) & 0xffL)] ^ (crc >> 8);
+   }
+ 
+   return crc;



Home | Main Index | Thread Index | Old Index