openbsd-ports/databases/mysql/patches/patch-sql_gen_lex_hash_cc
2001-12-29 17:56:56 +00:00

16 lines
571 B
Plaintext

$OpenBSD: patch-sql_gen_lex_hash_cc,v 1.2 2001/12/29 17:56:56 brad Exp $
--- sql/gen_lex_hash.cc.orig Thu Dec 27 07:23:32 2001
+++ sql/gen_lex_hash.cc Sat Dec 29 12:16:16 2001
@@ -481,7 +481,11 @@ int main(int argc,char **argv)
int error;
MY_INIT(argv[0]);
+#ifdef __sparc64__
+ start_value=7314299L; best_t1=2823134L; best_t2=3019933L; best_type=3; /* mode=7229 add=8 type: 0 */
+#else
start_value=6130115L; best_t1=3632784L; best_t2=86437L; best_type=3; /* mode=4229 add=2 type: 0 */
+#endif
if (get_options(argc,(char **) argv))
exit(1);