diff options
author | cube <cube> | 2004-06-08 22:36:09 +0000 |
---|---|---|
committer | cube <cube> | 2004-06-08 22:36:09 +0000 |
commit | 72a94938181e0e56270a2162a535b9ec60a26d36 (patch) | |
tree | dd1f5f527f6f23ded7e2f02d413832f305c03145 /sysutils/cdrdao | |
parent | 56bf3f14af8a713814330d66c5e60c314c47546e (diff) | |
download | pkgsrc-72a94938181e0e56270a2162a535b9ec60a26d36.tar.gz |
Make it compile on amd64. Actually, it should make it compile on any
long != int platform. Should close PR 25878.
Diffstat (limited to 'sysutils/cdrdao')
-rw-r--r-- | sysutils/cdrdao/distinfo | 3 | ||||
-rw-r--r-- | sysutils/cdrdao/patches/patch-ag | 13 |
2 files changed, 15 insertions, 1 deletions
diff --git a/sysutils/cdrdao/distinfo b/sysutils/cdrdao/distinfo index 1b1588aa2e2..044e96842e2 100644 --- a/sysutils/cdrdao/distinfo +++ b/sysutils/cdrdao/distinfo @@ -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-ab) = 88f7f255926204d8a907e2748141a51a3fc3f792 SHA1 (patch-ac) = 4608827f9202ef5aed35ddda426dc7a9574bc18f SHA1 (patch-ad) = 905ad1573a42b0753483e1b494c55a85ae5e5746 SHA1 (patch-ae) = 42894e1de0bcb47ce65fcc64e4425ca718f7542b +SHA1 (patch-ag) = 79f71410be2de6e23360b48c0adad31d99d7e5bf diff --git a/sysutils/cdrdao/patches/patch-ag b/sysutils/cdrdao/patches/patch-ag new file mode 100644 index 00000000000..52d4d670998 --- /dev/null +++ b/sysutils/cdrdao/patches/patch-ag @@ -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; |