diff options
author | minskim <minskim> | 2004-03-08 16:52:13 +0000 |
---|---|---|
committer | minskim <minskim> | 2004-03-08 16:52:13 +0000 |
commit | f042e62430c85f16c8edd9f4c52d47dc8da97529 (patch) | |
tree | 0ef53ccaaa14580af7580851a87eaf8b4016a802 /x11/blt/patches | |
parent | e0e0930bc60aafcc9ac3a75e26eea4f80e86ac06 (diff) | |
download | pkgsrc-f042e62430c85f16c8edd9f4c52d47dc8da97529.tar.gz |
Define two missing constants when sizeof(void*) == 8. It will fix
build on 64bit architecture.
Diffstat (limited to 'x11/blt/patches')
-rw-r--r-- | x11/blt/patches/patch-ac | 13 |
1 files changed, 13 insertions, 0 deletions
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. */ |