pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/x11/blt Define two missing constants when sizeof(void*...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/6e4a2b5ebed5
branches:  trunk
changeset: 470352:6e4a2b5ebed5
user:      minskim <minskim%pkgsrc.org@localhost>
date:      Mon Mar 08 16:52:13 2004 +0000

description:
Define two missing constants when sizeof(void*) == 8.  It will fix
build on 64bit architecture.

diffstat:

 x11/blt/distinfo         |   3 ++-
 x11/blt/patches/patch-ac |  13 +++++++++++++
 2 files changed, 15 insertions(+), 1 deletions(-)

diffs (31 lines):

diff -r e543eca5eb68 -r 6e4a2b5ebed5 x11/blt/distinfo
--- a/x11/blt/distinfo  Mon Mar 08 16:25:47 2004 +0000
+++ b/x11/blt/distinfo  Mon Mar 08 16:52:13 2004 +0000
@@ -1,8 +1,9 @@
-$NetBSD: distinfo,v 1.6 2004/03/06 06:26:21 minskim Exp $
+$NetBSD: distinfo,v 1.7 2004/03/08 16:52:13 minskim Exp $
 
 SHA1 (BLT2.4z.tar.gz) = 29f719aa762f1762dbf4a3b0e60dc5356118ba2f
 Size (BLT2.4z.tar.gz) = 2200973 bytes
 SHA1 (patch-aa) = 97b967b8b0cda8e30bd24b8d89fd0b5679a9edd4
 SHA1 (patch-ab) = 37320a45666c5cb3a0da08cd7f74e9dcee5a66a0
+SHA1 (patch-ac) = 696f90010831522f46d67052abc0c6068197cfd9
 SHA1 (patch-ad) = be6bd157a084f5ad38ff3787f53e7aa4fcf80234
 SHA1 (patch-ae) = bda9a14a3e65230fb214498c2265d83056df88a7
diff -r e543eca5eb68 -r 6e4a2b5ebed5 x11/blt/patches/patch-ac
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/x11/blt/patches/patch-ac  Mon Mar 08 16:52:13 2004 +0000
@@ -0,0 +1,13 @@
+$NetBSD: patch-ac,v 1.4 2004/03/08 16:52:14 minskim Exp $
+
+--- src/bltTree.c.orig 2002-09-29 00:44:12.000000000 -0500
++++ src/bltTree.c
+@@ -99,6 +99,8 @@ static Value *TreeNextValue _ANSI_ARGS_(
+ #if (SIZEOF_VOID_P == 8)
+ #define RANDOM_INDEX(i)               HashOneWord(mask, downshift, i)
+ #define BITSPERWORD           64
++#define START_LOGSIZE         10
++#define MAX_LIST_VALUES               40
+ #else 
+ 
+ #define START_LOGSIZE         5 /* Initial hash table size is 32. */



Home | Main Index | Thread Index | Old Index