summaryrefslogtreecommitdiff
path: root/x11/blt/patches
diff options
context:
space:
mode:
authorminskim <minskim@pkgsrc.org>2004-03-08 16:52:13 +0000
committerminskim <minskim@pkgsrc.org>2004-03-08 16:52:13 +0000
commit7f801b9bb24f09f085370b66a8cd0d869fdf38e3 (patch)
tree0ef53ccaaa14580af7580851a87eaf8b4016a802 /x11/blt/patches
parent71536dfe41d76d29f35f05b0f7460dfeff761e6b (diff)
downloadpkgsrc-7f801b9bb24f09f085370b66a8cd0d869fdf38e3.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-ac13
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. */