pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/games/zoom/patches patch-ab no longer needed
details: https://anonhg.NetBSD.org/pkgsrc/rev/96d1aeef2723
branches: trunk
changeset: 497770:96d1aeef2723
user: adam <adam%pkgsrc.org@localhost>
date: Thu Aug 04 10:41:12 2005 +0000
description:
patch-ab no longer needed
diffstat:
games/zoom/patches/patch-ab | 24 ------------------------
1 files changed, 0 insertions(+), 24 deletions(-)
diffs (28 lines):
diff -r add8f25039d9 -r 96d1aeef2723 games/zoom/patches/patch-ab
--- a/games/zoom/patches/patch-ab Thu Aug 04 10:40:38 2005 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,24 +0,0 @@
-$NetBSD: patch-ab,v 1.1 2004/03/29 00:54:22 dillo Exp $
-
---- src/hash.c.orig Thu Jul 25 20:10:02 2002
-+++ src/hash.c Wed Mar 10 16:00:01 2004
-@@ -81,7 +81,7 @@
- for (i = 0; i < 256; ++i) {
- for (c = i << 24, j = 8; j > 0; --j)
- c = c & 0x80000000 ? (c << 1) ^ CRC32_POLY : (c << 1);
-- crc32_table[i] = c;
-+ crc32_table[i] = c & 0xffffffff;
- }
- }
-
-@@ -95,8 +95,8 @@
- init_crc32(); /* build table */
- crc = 0xffffffff; /* preload shift register, per CRC-32 spec */
- for (p = buf; len > 0; ++p, --len)
-- crc = (crc << 8) ^ crc32_table[(crc >> 24) ^ *p];
-- return ~crc; /* transmit complement, per CRC-32 spec */
-+ crc = ((crc << 8) ^ crc32_table[(crc >> 24) ^ *p]) & 0xffffffff;
-+ return ~crc & 0xffffffff; /* transmit complement, per CRC-32 spec */
- }
-
- static struct bucket *hash_lookup(hash hash,
Home |
Main Index |
Thread Index |
Old Index