diff options
author | minskim <minskim@pkgsrc.org> | 2004-03-08 16:52:13 +0000 |
---|---|---|
committer | minskim <minskim@pkgsrc.org> | 2004-03-08 16:52:13 +0000 |
commit | 7f801b9bb24f09f085370b66a8cd0d869fdf38e3 (patch) | |
tree | 0ef53ccaaa14580af7580851a87eaf8b4016a802 /x11 | |
parent | 71536dfe41d76d29f35f05b0f7460dfeff761e6b (diff) | |
download | pkgsrc-7f801b9bb24f09f085370b66a8cd0d869fdf38e3.tar.gz |
Define two missing constants when sizeof(void*) == 8. It will fix
build on 64bit architecture.
Diffstat (limited to 'x11')
-rw-r--r-- | x11/blt/distinfo | 3 | ||||
-rw-r--r-- | x11/blt/patches/patch-ac | 13 |
2 files changed, 15 insertions, 1 deletions
diff --git a/x11/blt/distinfo b/x11/blt/distinfo index 49645e4fd9e..7d0fdaedebe 100644 --- a/x11/blt/distinfo +++ b/x11/blt/distinfo @@ -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 --git a/x11/blt/patches/patch-ac b/x11/blt/patches/patch-ac new file mode 100644 index 00000000000..575f2e98caa --- /dev/null +++ b/x11/blt/patches/patch-ac @@ -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. */ |