summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Ahlberg <aliz@gentoo.org>2004-07-19 12:46:54 +0000
committerDaniel Ahlberg <aliz@gentoo.org>2004-07-19 12:46:54 +0000
commitf9ec32158c2f14274e6653d2bc9cbc495b17c5c2 (patch)
treef0e6964456c305cefd1b6c2280e35560cfd5677d /dev-tcltk/blt/files
parentadd patch to fix sound events issue (diff)
downloadhistorical-f9ec32158c2f14274e6653d2bc9cbc495b17c5c2.tar.gz
historical-f9ec32158c2f14274e6653d2bc9cbc495b17c5c2.tar.bz2
historical-f9ec32158c2f14274e6653d2bc9cbc495b17c5c2.zip
Closing #50994
Diffstat (limited to 'dev-tcltk/blt/files')
-rw-r--r--dev-tcltk/blt/files/blt2.4z-64bit.patch24
1 files changed, 24 insertions, 0 deletions
diff --git a/dev-tcltk/blt/files/blt2.4z-64bit.patch b/dev-tcltk/blt/files/blt2.4z-64bit.patch
new file mode 100644
index 000000000000..9f1c3c975eef
--- /dev/null
+++ b/dev-tcltk/blt/files/blt2.4z-64bit.patch
@@ -0,0 +1,24 @@
+--- blt2.4z/src/bltTree.c.64bit-fixes 2002-09-29 07:44:12.000000000 +0200
++++ blt2.4z/src/bltTree.c 2003-07-31 12:22:53.000000000 +0200
+@@ -95,17 +95,16 @@ static Value *TreeNextValue _ANSI_ARGS_(
+ */
+
+ #define REBUILD_MULTIPLIER 3
++#define START_LOGSIZE 5 /* Initial hash table size is 32. */
++#define MAX_LIST_VALUES 20 /* Convert to hash table when node
++ * value list gets bigger than this
++ * many values. */
+
+ #if (SIZEOF_VOID_P == 8)
+ #define RANDOM_INDEX(i) HashOneWord(mask, downshift, i)
+ #define BITSPERWORD 64
+ #else
+
+-#define START_LOGSIZE 5 /* Initial hash table size is 32. */
+-#define MAX_LIST_VALUES 20 /* Convert to hash table when node
+- * value list gets bigger than this
+- * many values. */
+-
+ /*
+ * The following macro takes a preliminary integer hash value and
+ * produces an index into a hash tables bucket list. The idea is