summaryrefslogtreecommitdiff
path: root/databases/mysql4-client/patches
diff options
context:
space:
mode:
authormartti <martti@pkgsrc.org>2007-05-23 08:11:48 +0000
committermartti <martti@pkgsrc.org>2007-05-23 08:11:48 +0000
commitb85648126de675b0047dc0e9d5e9e4ac37bcfff9 (patch)
treec8dea7e0e84f29c7a1795f0aeaf55ab828944ca0 /databases/mysql4-client/patches
parent1f13502c01236f5f9c3a6cee16b115787ec093ff (diff)
downloadpkgsrc-b85648126de675b0047dc0e9d5e9e4ac37bcfff9.tar.gz
Updated MySQL to 4.1.22
Lots of bug fixes, see http://dev.mysql.com/doc/refman/4.1/en/news-4-1-22.html
Diffstat (limited to 'databases/mysql4-client/patches')
-rw-r--r--databases/mysql4-client/patches/patch-ab8
-rw-r--r--databases/mysql4-client/patches/patch-af16
-rw-r--r--databases/mysql4-client/patches/patch-av8
-rw-r--r--databases/mysql4-client/patches/patch-aw12
-rw-r--r--databases/mysql4-client/patches/patch-ax8
-rw-r--r--databases/mysql4-client/patches/patch-ay10
-rw-r--r--databases/mysql4-client/patches/patch-ba8
-rw-r--r--databases/mysql4-client/patches/patch-bd12
-rw-r--r--databases/mysql4-client/patches/patch-be8
9 files changed, 46 insertions, 44 deletions
diff --git a/databases/mysql4-client/patches/patch-ab b/databases/mysql4-client/patches/patch-ab
index 54f0371d946..7d166ba04de 100644
--- a/databases/mysql4-client/patches/patch-ab
+++ b/databases/mysql4-client/patches/patch-ab
@@ -1,8 +1,8 @@
-$NetBSD: patch-ab,v 1.1 2005/10/26 17:33:49 joerg Exp $
+$NetBSD: patch-ab,v 1.2 2007/05/23 08:11:49 martti Exp $
---- sql/mysqld.cc.orig 2005-10-14 10:21:12.000000000 +0000
-+++ sql/mysqld.cc
-@@ -182,7 +182,7 @@ static void getvolumeID(BYTE *volumeName
+--- sql/mysqld.cc.orig 2006-11-03 04:15:29.000000000 +0200
++++ sql/mysqld.cc 2007-05-23 08:20:22.000000000 +0300
+@@ -183,7 +183,7 @@
int initgroups(const char *,unsigned int);
#endif
diff --git a/databases/mysql4-client/patches/patch-af b/databases/mysql4-client/patches/patch-af
index 64f314edc27..06bb5dc80a3 100644
--- a/databases/mysql4-client/patches/patch-af
+++ b/databases/mysql4-client/patches/patch-af
@@ -1,8 +1,8 @@
-$NetBSD: patch-af,v 1.8 2006/05/26 18:25:34 seb Exp $
+$NetBSD: patch-af,v 1.9 2007/05/23 08:11:49 martti Exp $
---- configure.orig 2006-05-23 01:12:19.000000000 +0000
-+++ configure
-@@ -20463,7 +20463,7 @@ then
+--- configure.orig 2006-11-03 04:19:18.000000000 +0200
++++ configure 2007-05-23 08:20:46.000000000 +0300
+@@ -20547,7 +20547,7 @@
FIND_PROC="$PS \$\$PID | grep -v grep | grep mysqld > /dev/null"
else
case $SYSTEM_TYPE in
@@ -11,7 +11,7 @@ $NetBSD: patch-af,v 1.8 2006/05/26 18:25:34 seb Exp $
FIND_PROC="$PS p \$\$PID | grep -v grep | grep mysqld > /dev/null"
;;
*darwin*)
-@@ -24651,6 +24651,10 @@ case $SYSTEM_TYPE in
+@@ -24736,6 +24736,10 @@
MAX_C_OPTIMIZE="-O"
fi
;;
@@ -22,7 +22,7 @@ $NetBSD: patch-af,v 1.8 2006/05/26 18:25:34 seb Exp $
*freebsd*)
echo "Adding fix for interrupted reads"
OSVERSION=`sysctl -a | grep osreldate | awk '{ print $2 }'`
-@@ -36551,30 +36555,10 @@ else
+@@ -36636,30 +36640,10 @@
fi;
@@ -53,7 +53,7 @@ $NetBSD: patch-af,v 1.8 2006/05/26 18:25:34 seb Exp $
-@@ -36864,7 +36848,7 @@ then
+@@ -36954,7 +36938,7 @@
else
bench_dirs=""
fi
@@ -62,7 +62,7 @@ $NetBSD: patch-af,v 1.8 2006/05/26 18:25:34 seb Exp $
# Don't build readline, i have it already
-@@ -36981,7 +36965,7 @@ int
+@@ -37071,7 +37055,7 @@
main ()
{
diff --git a/databases/mysql4-client/patches/patch-av b/databases/mysql4-client/patches/patch-av
index 9419ccbcf79..f72ef918c7f 100644
--- a/databases/mysql4-client/patches/patch-av
+++ b/databases/mysql4-client/patches/patch-av
@@ -1,8 +1,8 @@
-$NetBSD: patch-av,v 1.5 2006/05/26 18:25:34 seb Exp $
+$NetBSD: patch-av,v 1.6 2007/05/23 08:11:49 martti Exp $
---- Makefile.in.orig 2006-04-29 05:36:56.000000000 +0000
-+++ Makefile.in
-@@ -352,13 +352,7 @@ AUTOMAKE_OPTIONS = foreign
+--- Makefile.in.orig 2006-11-03 04:19:15.000000000 +0200
++++ Makefile.in 2007-05-23 08:21:08.000000000 +0300
+@@ -353,13 +353,7 @@
EXTRA_DIST = INSTALL-SOURCE INSTALL-WIN-SOURCE \
README COPYING EXCEPTIONS-CLIENT
diff --git a/databases/mysql4-client/patches/patch-aw b/databases/mysql4-client/patches/patch-aw
index fa0017bd0d3..c7dc06f56ff 100644
--- a/databases/mysql4-client/patches/patch-aw
+++ b/databases/mysql4-client/patches/patch-aw
@@ -1,13 +1,15 @@
-$NetBSD: patch-aw,v 1.3 2006/05/26 18:25:34 seb Exp $
+$NetBSD: patch-aw,v 1.4 2007/05/23 08:11:49 martti Exp $
---- man/Makefile.in.orig 2006-04-29 05:36:31.000000000 +0000
-+++ man/Makefile.in
-@@ -325,7 +325,7 @@ uname_prog = @uname_prog@
+--- man/Makefile.in.orig 2006-11-03 04:18:34.000000000 +0200
++++ man/Makefile.in 2007-05-23 08:40:58.000000000 +0300
+@@ -327,8 +327,8 @@
vio_dir = @vio_dir@
vio_libs = @vio_libs@
zlib_dir = @zlib_dir@
-man1_MANS = @man1_files@
+-man8_MANS = @man8_files@
+man1_MANS = msql2mysql.1 mysql.1 mysql_config.1 mysql_fix_privilege_tables.1 mysql_zap.1 mysqlaccess.1 mysqladmin.1 mysqlbinlog.1 mysqlcheck.1 mysqldump.1 mysqlshow.1
- EXTRA_DIST = $(man1_MANS)
++man8_MANS =
+ EXTRA_DIST = $(man1_MANS) $(man8_MANS)
all: all-am
diff --git a/databases/mysql4-client/patches/patch-ax b/databases/mysql4-client/patches/patch-ax
index 59383de546a..681b1996d00 100644
--- a/databases/mysql4-client/patches/patch-ax
+++ b/databases/mysql4-client/patches/patch-ax
@@ -1,8 +1,8 @@
-$NetBSD: patch-ax,v 1.5 2006/08/31 12:42:42 seb Exp $
+$NetBSD: patch-ax,v 1.6 2007/05/23 08:11:49 martti Exp $
---- scripts/Makefile.in.orig 2005-09-26 23:51:54.000000000 +0200
-+++ scripts/Makefile.in 2005-09-26 23:52:22.000000000 +0200
-@@ -322,23 +322,10 @@
+--- scripts/Makefile.in.orig 2006-11-03 04:19:06.000000000 +0200
++++ scripts/Makefile.in 2007-05-23 08:24:33.000000000 +0300
+@@ -335,23 +335,10 @@
vio_dir = @vio_dir@
vio_libs = @vio_libs@
zlib_dir = @zlib_dir@
diff --git a/databases/mysql4-client/patches/patch-ay b/databases/mysql4-client/patches/patch-ay
index 5b63e44efd9..c84a9cf0de1 100644
--- a/databases/mysql4-client/patches/patch-ay
+++ b/databases/mysql4-client/patches/patch-ay
@@ -1,8 +1,8 @@
-$NetBSD: patch-ay,v 1.3 2006/05/26 18:25:34 seb Exp $
+$NetBSD: patch-ay,v 1.4 2007/05/23 08:11:49 martti Exp $
---- strings/Makefile.in.orig 2006-04-29 05:36:54.000000000 +0000
-+++ strings/Makefile.in
-@@ -583,7 +583,7 @@ install-pkglibLIBRARIES: $(pkglib_LIBRAR
+--- strings/Makefile.in.orig 2006-11-03 04:19:10.000000000 +0200
++++ strings/Makefile.in 2007-05-23 08:24:57.000000000 +0300
+@@ -584,7 +584,7 @@
@$(NORMAL_INSTALL)
test -z "$(pkglibdir)" || $(mkdir_p) "$(DESTDIR)$(pkglibdir)"
@list='$(pkglib_LIBRARIES)'; for p in $$list; do \
@@ -11,7 +11,7 @@ $NetBSD: patch-ay,v 1.3 2006/05/26 18:25:34 seb Exp $
f=$(am__strip_dir) \
echo " $(pkglibLIBRARIES_INSTALL) '$$p' '$(DESTDIR)$(pkglibdir)/$$f'"; \
$(pkglibLIBRARIES_INSTALL) "$$p" "$(DESTDIR)$(pkglibdir)/$$f"; \
-@@ -591,7 +591,7 @@ install-pkglibLIBRARIES: $(pkglib_LIBRAR
+@@ -592,7 +592,7 @@
done
@$(POST_INSTALL)
@list='$(pkglib_LIBRARIES)'; for p in $$list; do \
diff --git a/databases/mysql4-client/patches/patch-ba b/databases/mysql4-client/patches/patch-ba
index a4e8b088202..ffbff48a90d 100644
--- a/databases/mysql4-client/patches/patch-ba
+++ b/databases/mysql4-client/patches/patch-ba
@@ -1,7 +1,7 @@
-$NetBSD: patch-ba,v 1.1 2005/02/18 00:48:05 xtraeme Exp $
+$NetBSD: patch-ba,v 1.2 2007/05/23 08:11:50 martti Exp $
---- client/mysql.cc.orig 2005-02-18 01:36:23.000000000 +0100
-+++ client/mysql.cc 2005-02-18 01:38:00.000000000 +0100
+--- client/mysql.cc.orig 2006-11-03 04:15:47.000000000 +0200
++++ client/mysql.cc 2007-05-23 08:25:23.000000000 +0300
@@ -39,6 +39,9 @@
#include "my_readline.h"
#include <signal.h>
@@ -12,7 +12,7 @@ $NetBSD: patch-ba,v 1.1 2005/02/18 00:48:05 xtraeme Exp $
#if defined(USE_LIBEDIT_INTERFACE) && defined(HAVE_LOCALE_H)
#include <locale.h>
-@@ -408,8 +411,13 @@
+@@ -410,8 +413,13 @@
if (opt_sigint_ignore)
signal(SIGINT, SIG_IGN);
else
diff --git a/databases/mysql4-client/patches/patch-bd b/databases/mysql4-client/patches/patch-bd
index 39e83012da2..84d2e7e389a 100644
--- a/databases/mysql4-client/patches/patch-bd
+++ b/databases/mysql4-client/patches/patch-bd
@@ -1,7 +1,7 @@
-$NetBSD: patch-bd,v 1.2 2006/08/31 12:42:42 seb Exp $
+$NetBSD: patch-bd,v 1.3 2007/05/23 08:11:50 martti Exp $
---- tests/mysql_client_test.c.orig 2006-07-19 15:10:41.000000000 +0000
-+++ tests/mysql_client_test.c
+--- tests/mysql_client_test.c.orig 2006-11-03 04:15:21.000000000 +0200
++++ tests/mysql_client_test.c 2007-05-23 08:25:53.000000000 +0300
@@ -22,6 +22,7 @@
***************************************************************************/
@@ -10,7 +10,7 @@ $NetBSD: patch-bd,v 1.2 2006/08/31 12:42:42 seb Exp $
#include <my_sys.h>
#include <mysql.h>
#include <errmsg.h>
-@@ -11855,6 +11856,48 @@ static void test_bug15613()
+@@ -11856,6 +11857,48 @@
mysql_stmt_close(stmt);
}
@@ -59,11 +59,11 @@ $NetBSD: patch-bd,v 1.2 2006/08/31 12:42:42 seb Exp $
/*
Bug#20152: mysql_stmt_execute() writes to MYSQL_TYPE_DATE buffer
-@@ -12130,6 +12173,7 @@ static struct my_tests_st my_tests[]= {
+@@ -12170,6 +12213,7 @@
{ "test_bug11718", test_bug11718 },
{ "test_bug12925", test_bug12925 },
{ "test_bug15613", test_bug15613 },
+ { "test_bug17667", test_bug17667 },
{ "test_bug20152", test_bug20152 },
+ { "test_bug21726", test_bug21726 },
{ 0, 0 }
- };
diff --git a/databases/mysql4-client/patches/patch-be b/databases/mysql4-client/patches/patch-be
index 64998b911c8..fa8dc2c710b 100644
--- a/databases/mysql4-client/patches/patch-be
+++ b/databases/mysql4-client/patches/patch-be
@@ -1,8 +1,8 @@
-$NetBSD: patch-be,v 1.1 2006/06/19 07:53:00 seb Exp $
+$NetBSD: patch-be,v 1.2 2007/05/23 08:11:50 martti Exp $
---- sql/sql_lex.cc.orig 2006-05-24 18:00:37.000000000 +0000
-+++ sql/sql_lex.cc
-@@ -892,6 +892,8 @@ int yylex(void *arg, void *yythd)
+--- sql/sql_lex.cc.orig 2006-11-03 04:15:21.000000000 +0200
++++ sql/sql_lex.cc 2007-05-23 08:26:27.000000000 +0300
+@@ -894,6 +894,8 @@
while (lex->ptr != lex->end_of_query &&
((c=yyGet()) != '*' || yyPeek() != '/'))
{