summaryrefslogtreecommitdiff
path: root/dev-db
diff options
context:
space:
mode:
authorAchim Gottinger <achim@gentoo.org>2001-05-16 14:00:01 +0000
committerAchim Gottinger <achim@gentoo.org>2001-05-16 14:00:01 +0000
commitddd56dc2598e2a87258fe5def3bf0f17e0ad03d9 (patch)
tree907e9ad62f02291e5112525b65bcc9aa8771c7fc /dev-db
parentUpdate (diff)
downloadhistorical-ddd56dc2598e2a87258fe5def3bf0f17e0ad03d9.tar.gz
historical-ddd56dc2598e2a87258fe5def3bf0f17e0ad03d9.tar.bz2
historical-ddd56dc2598e2a87258fe5def3bf0f17e0ad03d9.zip
Update patches
Diffstat (limited to 'dev-db')
-rw-r--r--dev-db/mysql/files/mysql-3.23.38-db-3.2.3-gentoo.diff27
-rw-r--r--dev-db/mysql/files/mysql-3.23.38-nisam.h-gentoo.diff11
2 files changed, 38 insertions, 0 deletions
diff --git a/dev-db/mysql/files/mysql-3.23.38-db-3.2.3-gentoo.diff b/dev-db/mysql/files/mysql-3.23.38-db-3.2.3-gentoo.diff
new file mode 100644
index 000000000000..043f45586224
--- /dev/null
+++ b/dev-db/mysql/files/mysql-3.23.38-db-3.2.3-gentoo.diff
@@ -0,0 +1,27 @@
+diff -u -r mysql-3.23.38.orig/acinclude.m4 mysql-3.23.38/acinclude.m4
+--- mysql-3.23.38.orig/acinclude.m4 Tue Mar 27 10:11:01 2001
++++ mysql-3.23.38/acinclude.m4 Fri Apr 13 17:16:52 2001
+@@ -742,12 +742,12 @@
+ if test X"$bdb_version_ok" = Xyes; then
+ save_LDFLAGS="$LDFLAGS"
+ LDFLAGS="-L$lib $LDFLAGS"
+- AC_CHECK_LIB(db,db_env_create, [
++ AC_CHECK_LIB(db-3.2,db_env_create, [
+ bdb_dir_ok=installed
+ MYSQL_TOP_BUILDDIR([inc])
+ MYSQL_TOP_BUILDDIR([lib])
+ bdb_includes="-I$inc"
+- bdb_libs="-L$lib -ldb"
++ bdb_libs="-L$lib -ldb-3.2"
+ ])
+ LDFLAGS="$save_LDFLAGS"
+ else
+@@ -775,7 +775,7 @@
+ bdb="$dir"
+ MYSQL_TOP_BUILDDIR([dir])
+ bdb_includes="-I$dir/build_unix"
+- bdb_libs="-L$dir/build_unix -ldb"
++ bdb_libs="-L$dir/build_unix -ldb-3.2"
+ else
+ bdb_dir_ok="$bdb_version_ok"
+ fi
diff --git a/dev-db/mysql/files/mysql-3.23.38-nisam.h-gentoo.diff b/dev-db/mysql/files/mysql-3.23.38-nisam.h-gentoo.diff
new file mode 100644
index 000000000000..8b4450478808
--- /dev/null
+++ b/dev-db/mysql/files/mysql-3.23.38-nisam.h-gentoo.diff
@@ -0,0 +1,11 @@
+--- include/nisam.h~ Tue Mar 27 10:11:02 2001
++++ include/nisam.h Fri Apr 13 16:26:02 2001
+@@ -31,7 +31,7 @@
+
+ #define N_MAXKEY 16 /* Max allowed keys */
+ #define N_MAXKEY_SEG 16 /* Max segments for key */
+-#define N_MAX_KEY_LENGTH 256 /* May be increased up to 500 */
++#define N_MAX_KEY_LENGTH 500 /* May be increased up to 500 */
+ #define N_MAX_KEY_BUFF (N_MAX_KEY_LENGTH+N_MAXKEY_SEG+sizeof(double)-1)
+ #define N_MAX_POSSIBLE_KEY_BUFF 500+9
+