aboutsummaryrefslogtreecommitdiff
path: root/databases
diff options
context:
space:
mode:
authorAlex Dupre <ale@FreeBSD.org>2008-02-14 10:49:46 +0000
committerAlex Dupre <ale@FreeBSD.org>2008-02-14 10:49:46 +0000
commit02460675495bd1a07f7ad6b2a3b694d8495cca4e (patch)
tree3d9c6bd8f3161d97a244e2107bb433b2fcac65c4 /databases
parent99ed0237bc996aaf77bb3083fef0550098dc5303 (diff)
downloadports-02460675495bd1a07f7ad6b2a3b694d8495cca4e.tar.gz
ports-02460675495bd1a07f7ad6b2a3b694d8495cca4e.zip
Notes
Diffstat (limited to 'databases')
-rw-r--r--databases/mysql51-server/Makefile2
-rw-r--r--databases/mysql51-server/distinfo6
-rw-r--r--databases/mysql51-server/files/patch-Docs::Makefile.in14
-rw-r--r--databases/mysql51-server/files/patch-Makefile.in12
-rw-r--r--databases/mysql51-server/files/patch-client_mysql_upgrade.c45
-rw-r--r--databases/mysql51-server/files/patch-include_my_global.h27
-rw-r--r--databases/mysql51-server/files/patch-mysys_default.c27
-rw-r--r--databases/mysql54-server/Makefile2
-rw-r--r--databases/mysql54-server/distinfo6
-rw-r--r--databases/mysql54-server/files/patch-Docs::Makefile.in14
-rw-r--r--databases/mysql54-server/files/patch-Makefile.in12
-rw-r--r--databases/mysql54-server/files/patch-client_mysql_upgrade.c45
-rw-r--r--databases/mysql54-server/files/patch-include_my_global.h27
-rw-r--r--databases/mysql54-server/files/patch-mysys_default.c27
-rw-r--r--databases/mysql55-server/Makefile2
-rw-r--r--databases/mysql55-server/distinfo6
-rw-r--r--databases/mysql55-server/files/patch-Docs::Makefile.in14
-rw-r--r--databases/mysql55-server/files/patch-Makefile.in12
-rw-r--r--databases/mysql55-server/files/patch-client_mysql_upgrade.c45
-rw-r--r--databases/mysql55-server/files/patch-include_my_global.h27
-rw-r--r--databases/mysql55-server/files/patch-mysys_default.c27
-rw-r--r--databases/mysql60-server/Makefile2
-rw-r--r--databases/mysql60-server/distinfo6
-rw-r--r--databases/mysql60-server/files/patch-Docs::Makefile.in14
-rw-r--r--databases/mysql60-server/files/patch-Makefile.in12
-rw-r--r--databases/mysql60-server/files/patch-client_mysql_upgrade.c45
-rw-r--r--databases/mysql60-server/files/patch-include_my_global.h27
-rw-r--r--databases/mysql60-server/files/patch-mysys_default.c27
-rw-r--r--databases/percona55-server/Makefile2
-rw-r--r--databases/percona55-server/distinfo6
-rw-r--r--databases/percona55-server/files/patch-Docs::Makefile.in14
-rw-r--r--databases/percona55-server/files/patch-Makefile.in12
-rw-r--r--databases/percona55-server/files/patch-client_mysql_upgrade.c45
-rw-r--r--databases/percona55-server/files/patch-include_my_global.h27
-rw-r--r--databases/percona55-server/files/patch-mysys_default.c27
35 files changed, 200 insertions, 465 deletions
diff --git a/databases/mysql51-server/Makefile b/databases/mysql51-server/Makefile
index 80713448d2be..24aabf6aa678 100644
--- a/databases/mysql51-server/Makefile
+++ b/databases/mysql51-server/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME?= mysql
-PORTVERSION= 5.1.22
+PORTVERSION= 5.1.23
PORTREVISION?= 0
CATEGORIES= databases
MASTER_SITES= ${MASTER_SITE_MYSQL}
diff --git a/databases/mysql51-server/distinfo b/databases/mysql51-server/distinfo
index fc4e16e39f3b..41af34454d24 100644
--- a/databases/mysql51-server/distinfo
+++ b/databases/mysql51-server/distinfo
@@ -1,3 +1,3 @@
-MD5 (mysql-5.1.22-rc.tar.gz) = 87be813d1b2d76b1c756de0a16fa29fb
-SHA256 (mysql-5.1.22-rc.tar.gz) = 1bce64c7e8fe476828644cbc05157fc84fe02e9c13379d1611fbd7d27c0721ec
-SIZE (mysql-5.1.22-rc.tar.gz) = 28662040
+MD5 (mysql-5.1.23-rc.tar.gz) = d6ca3009eee24a8e396b8f667b3bd8df
+SHA256 (mysql-5.1.23-rc.tar.gz) = 713ca3fa746d99618833ed314868d294e308b38419aa4c72eb64deda97799fec
+SIZE (mysql-5.1.23-rc.tar.gz) = 27263946
diff --git a/databases/mysql51-server/files/patch-Docs::Makefile.in b/databases/mysql51-server/files/patch-Docs::Makefile.in
index 677da903d045..51888b7712cc 100644
--- a/databases/mysql51-server/files/patch-Docs::Makefile.in
+++ b/databases/mysql51-server/files/patch-Docs::Makefile.in
@@ -1,15 +1,15 @@
---- Docs/Makefile.in.orig Fri Jun 2 20:02:56 2006
-+++ Docs/Makefile.in Thu Jun 15 07:18:41 2006
-@@ -370,7 +370,7 @@
- # generated files explicitly in DISTCLEANFILES.
- DISTCLEANFILES = $(TXT_FILES)
- GT = $(srcdir)/generate-text-files.pl
+--- Docs/Makefile.in.orig 2008-01-29 22:43:40.000000000 +0100
++++ Docs/Makefile.in 2008-02-14 08:21:57.000000000 +0100
+@@ -368,7 +368,7 @@
+ yassl_taocrypt_extra_cxxflags = @yassl_taocrypt_extra_cxxflags@
+ zlib_dir = @zlib_dir@
+ EXTRA_DIST = mysql.info INSTALL-BINARY @extra_docs@
-all: all-am
+all:
.SUFFIXES:
$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
-@@ -458,7 +458,7 @@
+@@ -453,7 +453,7 @@
install-data: install-data-am
uninstall: uninstall-am
diff --git a/databases/mysql51-server/files/patch-Makefile.in b/databases/mysql51-server/files/patch-Makefile.in
index dc92a178a9e8..bea65ccf9521 100644
--- a/databases/mysql51-server/files/patch-Makefile.in
+++ b/databases/mysql51-server/files/patch-Makefile.in
@@ -1,12 +1,12 @@
---- Makefile.in.orig Tue May 8 11:43:16 2007
-+++ Makefile.in Thu May 17 09:28:15 2007
-@@ -396,14 +396,7 @@
+--- Makefile.in.orig 2008-01-29 22:44:32.000000000 +0100
++++ Makefile.in 2008-02-14 08:23:39.000000000 +0100
+@@ -398,14 +398,7 @@
EXTRA_DIST = INSTALL-SOURCE INSTALL-WIN-SOURCE \
README COPYING EXCEPTIONS-CLIENT CMakeLists.txt
-SUBDIRS = . include @docs_dirs@ @zlib_dir@ \
- @readline_topdir@ sql-common scripts \
-- @thread_dirs@ pstack \
+- @pstack_dir@ \
- @sql_union_dirs@ unittest storage plugin \
- @sql_server@ @man_dirs@ tests \
- netware @libmysqld_dirs@ \
@@ -14,5 +14,5 @@
- win
+SUBDIRS =
- DIST_SUBDIRS = $(SUBDIRS) BUILD debian
- DISTCLEANFILES = ac_available_languages_fragment
+ DIST_SUBDIRS = . include Docs zlib \
+ cmd-line-utils sql-common scripts \
diff --git a/databases/mysql51-server/files/patch-client_mysql_upgrade.c b/databases/mysql51-server/files/patch-client_mysql_upgrade.c
index cc29b97ddc60..14c5130605c7 100644
--- a/databases/mysql51-server/files/patch-client_mysql_upgrade.c
+++ b/databases/mysql51-server/files/patch-client_mysql_upgrade.c
@@ -1,36 +1,13 @@
---- client/mysql_upgrade.c.orig Tue Aug 28 11:16:33 2007
-+++ client/mysql_upgrade.c Tue Aug 28 11:22:24 2007
-@@ -395,7 +395,6 @@
- path[0]= 0;
- }
- }
-- do
- {
- size_t path_len;
- DBUG_PRINT("enter", ("path: %s", path));
-@@ -411,22 +410,14 @@
- path, "", MYF(MY_REPLACE_DIR));
+--- client/mysql_upgrade.c.orig 2008-01-29 22:42:00.000000000 +0100
++++ client/mysql_upgrade.c 2008-02-14 08:29:52.000000000 +0100
+@@ -427,10 +427,6 @@
- verbose("Looking for '%s' in: %s", tool_name, tool_path);
--
-- /* Make sure the tool exists */
-- if (my_access(tool_path, F_OK) != 0)
-- die("Can't find '%s'", tool_path);
--
-- /*
-- Make sure it can be executed, otherwise try again
-- in higher level directory
-- */
- }
-- while(run_tool(tool_path,
-+ if(run_tool(tool_path,
- &ds_tmp, /* Get output from command, discard*/
- "--help",
- "2>&1",
- IF_WIN("> NUL", "> /dev/null"),
-- NULL));
-+ NULL))
-+ die("Can't run '%s'", tool_path);
-
- dynstr_free(&ds_tmp);
+ verbose("Looking for '%s' in: %s", tool_name, tool_path);
+- /* Make sure the tool exists */
+- if (my_access(tool_path, F_OK) != 0)
+- die("Can't find '%s'", tool_path);
+-
+ /*
+ Make sure it can be executed
+ */
diff --git a/databases/mysql51-server/files/patch-include_my_global.h b/databases/mysql51-server/files/patch-include_my_global.h
deleted file mode 100644
index be6bf96f1841..000000000000
--- a/databases/mysql51-server/files/patch-include_my_global.h
+++ /dev/null
@@ -1,27 +0,0 @@
---- include/my_global.h.orig Mon Jul 2 08:06:55 2007
-+++ include/my_global.h Mon Jul 2 08:07:53 2007
-@@ -561,12 +561,6 @@
- #define PURIFY_OR_LINT_INIT(var)
- #endif
-
--/* Define some useful general macros */
--#if !defined(max)
--#define max(a, b) ((a) > (b) ? (a) : (b))
--#define min(a, b) ((a) < (b) ? (a) : (b))
--#endif
--
- #if !defined(HAVE_UINT)
- #undef HAVE_UINT
- #define HAVE_UINT
-@@ -1508,5 +1502,11 @@
-
- /* Length of decimal number represented by INT64. */
- #define MY_INT64_NUM_DECIMAL_DIGITS 21
-+
-+/* Define some useful general macros */
-+#if !defined(max)
-+#define max(a, b) ((a) > (b) ? (a) : (b))
-+#define min(a, b) ((a) < (b) ? (a) : (b))
-+#endif
-
- #endif /* my_global_h */
diff --git a/databases/mysql51-server/files/patch-mysys_default.c b/databases/mysql51-server/files/patch-mysys_default.c
index 02f3fa45eb91..66605f0694f9 100644
--- a/databases/mysql51-server/files/patch-mysys_default.c
+++ b/databases/mysql51-server/files/patch-mysys_default.c
@@ -1,6 +1,6 @@
---- mysys/default.c.orig Tue Jan 30 09:34:13 2007
-+++ mysys/default.c Sat Feb 3 17:12:31 2007
-@@ -608,7 +608,7 @@
+--- mysys/default.c.orig 2008-01-29 22:41:43.000000000 +0100
++++ mysys/default.c 2008-02-14 11:03:21.000000000 +0100
+@@ -623,7 +623,7 @@
{
MY_STAT stat_info;
if (!my_stat(name,&stat_info,MYF(0)))
@@ -9,15 +9,12 @@
/*
Ignore world-writable regular files.
This is mainly done to protect us to not read a file created by
-@@ -1013,9 +1013,9 @@
- #else
- *ptr++= "/etc/";
- *ptr++= "/etc/mysql/";
-+ *ptr++= "%%PREFIX%%/etc/";
-+ *ptr++= "%%PREFIX%%/etc/mysql/";
- #endif
-- if ((env= getenv(STRINGIFY_ARG(DEFAULT_HOME_ENV))))
-- *ptr++= env;
- *ptr++= ""; /* Place for defaults_extra_file */
- #if !defined(__WIN__) && !defined(__NETWARE__)
- *ptr++= "~/";;
+@@ -1102,6 +1102,8 @@
+ bzero((char *) default_directories, sizeof(default_directories));
+ ADD_DIRECTORY("/etc/");
+ ADD_DIRECTORY("/etc/mysql/");
++ ADD_DIRECTORY("%%PREFIX%%/etc/");
++ ADD_DIRECTORY("%%PREFIX%%/etc/mysql/");
+ #ifdef DEFAULT_SYSCONFDIR
+ if (DEFAULT_SYSCONFDIR != "")
+ ADD_DIRECTORY(DEFAULT_SYSCONFDIR);
diff --git a/databases/mysql54-server/Makefile b/databases/mysql54-server/Makefile
index 80713448d2be..24aabf6aa678 100644
--- a/databases/mysql54-server/Makefile
+++ b/databases/mysql54-server/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME?= mysql
-PORTVERSION= 5.1.22
+PORTVERSION= 5.1.23
PORTREVISION?= 0
CATEGORIES= databases
MASTER_SITES= ${MASTER_SITE_MYSQL}
diff --git a/databases/mysql54-server/distinfo b/databases/mysql54-server/distinfo
index fc4e16e39f3b..41af34454d24 100644
--- a/databases/mysql54-server/distinfo
+++ b/databases/mysql54-server/distinfo
@@ -1,3 +1,3 @@
-MD5 (mysql-5.1.22-rc.tar.gz) = 87be813d1b2d76b1c756de0a16fa29fb
-SHA256 (mysql-5.1.22-rc.tar.gz) = 1bce64c7e8fe476828644cbc05157fc84fe02e9c13379d1611fbd7d27c0721ec
-SIZE (mysql-5.1.22-rc.tar.gz) = 28662040
+MD5 (mysql-5.1.23-rc.tar.gz) = d6ca3009eee24a8e396b8f667b3bd8df
+SHA256 (mysql-5.1.23-rc.tar.gz) = 713ca3fa746d99618833ed314868d294e308b38419aa4c72eb64deda97799fec
+SIZE (mysql-5.1.23-rc.tar.gz) = 27263946
diff --git a/databases/mysql54-server/files/patch-Docs::Makefile.in b/databases/mysql54-server/files/patch-Docs::Makefile.in
index 677da903d045..51888b7712cc 100644
--- a/databases/mysql54-server/files/patch-Docs::Makefile.in
+++ b/databases/mysql54-server/files/patch-Docs::Makefile.in
@@ -1,15 +1,15 @@
---- Docs/Makefile.in.orig Fri Jun 2 20:02:56 2006
-+++ Docs/Makefile.in Thu Jun 15 07:18:41 2006
-@@ -370,7 +370,7 @@
- # generated files explicitly in DISTCLEANFILES.
- DISTCLEANFILES = $(TXT_FILES)
- GT = $(srcdir)/generate-text-files.pl
+--- Docs/Makefile.in.orig 2008-01-29 22:43:40.000000000 +0100
++++ Docs/Makefile.in 2008-02-14 08:21:57.000000000 +0100
+@@ -368,7 +368,7 @@
+ yassl_taocrypt_extra_cxxflags = @yassl_taocrypt_extra_cxxflags@
+ zlib_dir = @zlib_dir@
+ EXTRA_DIST = mysql.info INSTALL-BINARY @extra_docs@
-all: all-am
+all:
.SUFFIXES:
$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
-@@ -458,7 +458,7 @@
+@@ -453,7 +453,7 @@
install-data: install-data-am
uninstall: uninstall-am
diff --git a/databases/mysql54-server/files/patch-Makefile.in b/databases/mysql54-server/files/patch-Makefile.in
index dc92a178a9e8..bea65ccf9521 100644
--- a/databases/mysql54-server/files/patch-Makefile.in
+++ b/databases/mysql54-server/files/patch-Makefile.in
@@ -1,12 +1,12 @@
---- Makefile.in.orig Tue May 8 11:43:16 2007
-+++ Makefile.in Thu May 17 09:28:15 2007
-@@ -396,14 +396,7 @@
+--- Makefile.in.orig 2008-01-29 22:44:32.000000000 +0100
++++ Makefile.in 2008-02-14 08:23:39.000000000 +0100
+@@ -398,14 +398,7 @@
EXTRA_DIST = INSTALL-SOURCE INSTALL-WIN-SOURCE \
README COPYING EXCEPTIONS-CLIENT CMakeLists.txt
-SUBDIRS = . include @docs_dirs@ @zlib_dir@ \
- @readline_topdir@ sql-common scripts \
-- @thread_dirs@ pstack \
+- @pstack_dir@ \
- @sql_union_dirs@ unittest storage plugin \
- @sql_server@ @man_dirs@ tests \
- netware @libmysqld_dirs@ \
@@ -14,5 +14,5 @@
- win
+SUBDIRS =
- DIST_SUBDIRS = $(SUBDIRS) BUILD debian
- DISTCLEANFILES = ac_available_languages_fragment
+ DIST_SUBDIRS = . include Docs zlib \
+ cmd-line-utils sql-common scripts \
diff --git a/databases/mysql54-server/files/patch-client_mysql_upgrade.c b/databases/mysql54-server/files/patch-client_mysql_upgrade.c
index cc29b97ddc60..14c5130605c7 100644
--- a/databases/mysql54-server/files/patch-client_mysql_upgrade.c
+++ b/databases/mysql54-server/files/patch-client_mysql_upgrade.c
@@ -1,36 +1,13 @@
---- client/mysql_upgrade.c.orig Tue Aug 28 11:16:33 2007
-+++ client/mysql_upgrade.c Tue Aug 28 11:22:24 2007
-@@ -395,7 +395,6 @@
- path[0]= 0;
- }
- }
-- do
- {
- size_t path_len;
- DBUG_PRINT("enter", ("path: %s", path));
-@@ -411,22 +410,14 @@
- path, "", MYF(MY_REPLACE_DIR));
+--- client/mysql_upgrade.c.orig 2008-01-29 22:42:00.000000000 +0100
++++ client/mysql_upgrade.c 2008-02-14 08:29:52.000000000 +0100
+@@ -427,10 +427,6 @@
- verbose("Looking for '%s' in: %s", tool_name, tool_path);
--
-- /* Make sure the tool exists */
-- if (my_access(tool_path, F_OK) != 0)
-- die("Can't find '%s'", tool_path);
--
-- /*
-- Make sure it can be executed, otherwise try again
-- in higher level directory
-- */
- }
-- while(run_tool(tool_path,
-+ if(run_tool(tool_path,
- &ds_tmp, /* Get output from command, discard*/
- "--help",
- "2>&1",
- IF_WIN("> NUL", "> /dev/null"),
-- NULL));
-+ NULL))
-+ die("Can't run '%s'", tool_path);
-
- dynstr_free(&ds_tmp);
+ verbose("Looking for '%s' in: %s", tool_name, tool_path);
+- /* Make sure the tool exists */
+- if (my_access(tool_path, F_OK) != 0)
+- die("Can't find '%s'", tool_path);
+-
+ /*
+ Make sure it can be executed
+ */
diff --git a/databases/mysql54-server/files/patch-include_my_global.h b/databases/mysql54-server/files/patch-include_my_global.h
deleted file mode 100644
index be6bf96f1841..000000000000
--- a/databases/mysql54-server/files/patch-include_my_global.h
+++ /dev/null
@@ -1,27 +0,0 @@
---- include/my_global.h.orig Mon Jul 2 08:06:55 2007
-+++ include/my_global.h Mon Jul 2 08:07:53 2007
-@@ -561,12 +561,6 @@
- #define PURIFY_OR_LINT_INIT(var)
- #endif
-
--/* Define some useful general macros */
--#if !defined(max)
--#define max(a, b) ((a) > (b) ? (a) : (b))
--#define min(a, b) ((a) < (b) ? (a) : (b))
--#endif
--
- #if !defined(HAVE_UINT)
- #undef HAVE_UINT
- #define HAVE_UINT
-@@ -1508,5 +1502,11 @@
-
- /* Length of decimal number represented by INT64. */
- #define MY_INT64_NUM_DECIMAL_DIGITS 21
-+
-+/* Define some useful general macros */
-+#if !defined(max)
-+#define max(a, b) ((a) > (b) ? (a) : (b))
-+#define min(a, b) ((a) < (b) ? (a) : (b))
-+#endif
-
- #endif /* my_global_h */
diff --git a/databases/mysql54-server/files/patch-mysys_default.c b/databases/mysql54-server/files/patch-mysys_default.c
index 02f3fa45eb91..66605f0694f9 100644
--- a/databases/mysql54-server/files/patch-mysys_default.c
+++ b/databases/mysql54-server/files/patch-mysys_default.c
@@ -1,6 +1,6 @@
---- mysys/default.c.orig Tue Jan 30 09:34:13 2007
-+++ mysys/default.c Sat Feb 3 17:12:31 2007
-@@ -608,7 +608,7 @@
+--- mysys/default.c.orig 2008-01-29 22:41:43.000000000 +0100
++++ mysys/default.c 2008-02-14 11:03:21.000000000 +0100
+@@ -623,7 +623,7 @@
{
MY_STAT stat_info;
if (!my_stat(name,&stat_info,MYF(0)))
@@ -9,15 +9,12 @@
/*
Ignore world-writable regular files.
This is mainly done to protect us to not read a file created by
-@@ -1013,9 +1013,9 @@
- #else
- *ptr++= "/etc/";
- *ptr++= "/etc/mysql/";
-+ *ptr++= "%%PREFIX%%/etc/";
-+ *ptr++= "%%PREFIX%%/etc/mysql/";
- #endif
-- if ((env= getenv(STRINGIFY_ARG(DEFAULT_HOME_ENV))))
-- *ptr++= env;
- *ptr++= ""; /* Place for defaults_extra_file */
- #if !defined(__WIN__) && !defined(__NETWARE__)
- *ptr++= "~/";;
+@@ -1102,6 +1102,8 @@
+ bzero((char *) default_directories, sizeof(default_directories));
+ ADD_DIRECTORY("/etc/");
+ ADD_DIRECTORY("/etc/mysql/");
++ ADD_DIRECTORY("%%PREFIX%%/etc/");
++ ADD_DIRECTORY("%%PREFIX%%/etc/mysql/");
+ #ifdef DEFAULT_SYSCONFDIR
+ if (DEFAULT_SYSCONFDIR != "")
+ ADD_DIRECTORY(DEFAULT_SYSCONFDIR);
diff --git a/databases/mysql55-server/Makefile b/databases/mysql55-server/Makefile
index 80713448d2be..24aabf6aa678 100644
--- a/databases/mysql55-server/Makefile
+++ b/databases/mysql55-server/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME?= mysql
-PORTVERSION= 5.1.22
+PORTVERSION= 5.1.23
PORTREVISION?= 0
CATEGORIES= databases
MASTER_SITES= ${MASTER_SITE_MYSQL}
diff --git a/databases/mysql55-server/distinfo b/databases/mysql55-server/distinfo
index fc4e16e39f3b..41af34454d24 100644
--- a/databases/mysql55-server/distinfo
+++ b/databases/mysql55-server/distinfo
@@ -1,3 +1,3 @@
-MD5 (mysql-5.1.22-rc.tar.gz) = 87be813d1b2d76b1c756de0a16fa29fb
-SHA256 (mysql-5.1.22-rc.tar.gz) = 1bce64c7e8fe476828644cbc05157fc84fe02e9c13379d1611fbd7d27c0721ec
-SIZE (mysql-5.1.22-rc.tar.gz) = 28662040
+MD5 (mysql-5.1.23-rc.tar.gz) = d6ca3009eee24a8e396b8f667b3bd8df
+SHA256 (mysql-5.1.23-rc.tar.gz) = 713ca3fa746d99618833ed314868d294e308b38419aa4c72eb64deda97799fec
+SIZE (mysql-5.1.23-rc.tar.gz) = 27263946
diff --git a/databases/mysql55-server/files/patch-Docs::Makefile.in b/databases/mysql55-server/files/patch-Docs::Makefile.in
index 677da903d045..51888b7712cc 100644
--- a/databases/mysql55-server/files/patch-Docs::Makefile.in
+++ b/databases/mysql55-server/files/patch-Docs::Makefile.in
@@ -1,15 +1,15 @@
---- Docs/Makefile.in.orig Fri Jun 2 20:02:56 2006
-+++ Docs/Makefile.in Thu Jun 15 07:18:41 2006
-@@ -370,7 +370,7 @@
- # generated files explicitly in DISTCLEANFILES.
- DISTCLEANFILES = $(TXT_FILES)
- GT = $(srcdir)/generate-text-files.pl
+--- Docs/Makefile.in.orig 2008-01-29 22:43:40.000000000 +0100
++++ Docs/Makefile.in 2008-02-14 08:21:57.000000000 +0100
+@@ -368,7 +368,7 @@
+ yassl_taocrypt_extra_cxxflags = @yassl_taocrypt_extra_cxxflags@
+ zlib_dir = @zlib_dir@
+ EXTRA_DIST = mysql.info INSTALL-BINARY @extra_docs@
-all: all-am
+all:
.SUFFIXES:
$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
-@@ -458,7 +458,7 @@
+@@ -453,7 +453,7 @@
install-data: install-data-am
uninstall: uninstall-am
diff --git a/databases/mysql55-server/files/patch-Makefile.in b/databases/mysql55-server/files/patch-Makefile.in
index dc92a178a9e8..bea65ccf9521 100644
--- a/databases/mysql55-server/files/patch-Makefile.in
+++ b/databases/mysql55-server/files/patch-Makefile.in
@@ -1,12 +1,12 @@
---- Makefile.in.orig Tue May 8 11:43:16 2007
-+++ Makefile.in Thu May 17 09:28:15 2007
-@@ -396,14 +396,7 @@
+--- Makefile.in.orig 2008-01-29 22:44:32.000000000 +0100
++++ Makefile.in 2008-02-14 08:23:39.000000000 +0100
+@@ -398,14 +398,7 @@
EXTRA_DIST = INSTALL-SOURCE INSTALL-WIN-SOURCE \
README COPYING EXCEPTIONS-CLIENT CMakeLists.txt
-SUBDIRS = . include @docs_dirs@ @zlib_dir@ \
- @readline_topdir@ sql-common scripts \
-- @thread_dirs@ pstack \
+- @pstack_dir@ \
- @sql_union_dirs@ unittest storage plugin \
- @sql_server@ @man_dirs@ tests \
- netware @libmysqld_dirs@ \
@@ -14,5 +14,5 @@
- win
+SUBDIRS =
- DIST_SUBDIRS = $(SUBDIRS) BUILD debian
- DISTCLEANFILES = ac_available_languages_fragment
+ DIST_SUBDIRS = . include Docs zlib \
+ cmd-line-utils sql-common scripts \
diff --git a/databases/mysql55-server/files/patch-client_mysql_upgrade.c b/databases/mysql55-server/files/patch-client_mysql_upgrade.c
index cc29b97ddc60..14c5130605c7 100644
--- a/databases/mysql55-server/files/patch-client_mysql_upgrade.c
+++ b/databases/mysql55-server/files/patch-client_mysql_upgrade.c
@@ -1,36 +1,13 @@
---- client/mysql_upgrade.c.orig Tue Aug 28 11:16:33 2007
-+++ client/mysql_upgrade.c Tue Aug 28 11:22:24 2007
-@@ -395,7 +395,6 @@
- path[0]= 0;
- }
- }
-- do
- {
- size_t path_len;
- DBUG_PRINT("enter", ("path: %s", path));
-@@ -411,22 +410,14 @@
- path, "", MYF(MY_REPLACE_DIR));
+--- client/mysql_upgrade.c.orig 2008-01-29 22:42:00.000000000 +0100
++++ client/mysql_upgrade.c 2008-02-14 08:29:52.000000000 +0100
+@@ -427,10 +427,6 @@
- verbose("Looking for '%s' in: %s", tool_name, tool_path);
--
-- /* Make sure the tool exists */
-- if (my_access(tool_path, F_OK) != 0)
-- die("Can't find '%s'", tool_path);
--
-- /*
-- Make sure it can be executed, otherwise try again
-- in higher level directory
-- */
- }
-- while(run_tool(tool_path,
-+ if(run_tool(tool_path,
- &ds_tmp, /* Get output from command, discard*/
- "--help",
- "2>&1",
- IF_WIN("> NUL", "> /dev/null"),
-- NULL));
-+ NULL))
-+ die("Can't run '%s'", tool_path);
-
- dynstr_free(&ds_tmp);
+ verbose("Looking for '%s' in: %s", tool_name, tool_path);
+- /* Make sure the tool exists */
+- if (my_access(tool_path, F_OK) != 0)
+- die("Can't find '%s'", tool_path);
+-
+ /*
+ Make sure it can be executed
+ */
diff --git a/databases/mysql55-server/files/patch-include_my_global.h b/databases/mysql55-server/files/patch-include_my_global.h
deleted file mode 100644
index be6bf96f1841..000000000000
--- a/databases/mysql55-server/files/patch-include_my_global.h
+++ /dev/null
@@ -1,27 +0,0 @@
---- include/my_global.h.orig Mon Jul 2 08:06:55 2007
-+++ include/my_global.h Mon Jul 2 08:07:53 2007
-@@ -561,12 +561,6 @@
- #define PURIFY_OR_LINT_INIT(var)
- #endif
-
--/* Define some useful general macros */
--#if !defined(max)
--#define max(a, b) ((a) > (b) ? (a) : (b))
--#define min(a, b) ((a) < (b) ? (a) : (b))
--#endif
--
- #if !defined(HAVE_UINT)
- #undef HAVE_UINT
- #define HAVE_UINT
-@@ -1508,5 +1502,11 @@
-
- /* Length of decimal number represented by INT64. */
- #define MY_INT64_NUM_DECIMAL_DIGITS 21
-+
-+/* Define some useful general macros */
-+#if !defined(max)
-+#define max(a, b) ((a) > (b) ? (a) : (b))
-+#define min(a, b) ((a) < (b) ? (a) : (b))
-+#endif
-
- #endif /* my_global_h */
diff --git a/databases/mysql55-server/files/patch-mysys_default.c b/databases/mysql55-server/files/patch-mysys_default.c
index 02f3fa45eb91..66605f0694f9 100644
--- a/databases/mysql55-server/files/patch-mysys_default.c
+++ b/databases/mysql55-server/files/patch-mysys_default.c
@@ -1,6 +1,6 @@
---- mysys/default.c.orig Tue Jan 30 09:34:13 2007
-+++ mysys/default.c Sat Feb 3 17:12:31 2007
-@@ -608,7 +608,7 @@
+--- mysys/default.c.orig 2008-01-29 22:41:43.000000000 +0100
++++ mysys/default.c 2008-02-14 11:03:21.000000000 +0100
+@@ -623,7 +623,7 @@
{
MY_STAT stat_info;
if (!my_stat(name,&stat_info,MYF(0)))
@@ -9,15 +9,12 @@
/*
Ignore world-writable regular files.
This is mainly done to protect us to not read a file created by
-@@ -1013,9 +1013,9 @@
- #else
- *ptr++= "/etc/";
- *ptr++= "/etc/mysql/";
-+ *ptr++= "%%PREFIX%%/etc/";
-+ *ptr++= "%%PREFIX%%/etc/mysql/";
- #endif
-- if ((env= getenv(STRINGIFY_ARG(DEFAULT_HOME_ENV))))
-- *ptr++= env;
- *ptr++= ""; /* Place for defaults_extra_file */
- #if !defined(__WIN__) && !defined(__NETWARE__)
- *ptr++= "~/";;
+@@ -1102,6 +1102,8 @@
+ bzero((char *) default_directories, sizeof(default_directories));
+ ADD_DIRECTORY("/etc/");
+ ADD_DIRECTORY("/etc/mysql/");
++ ADD_DIRECTORY("%%PREFIX%%/etc/");
++ ADD_DIRECTORY("%%PREFIX%%/etc/mysql/");
+ #ifdef DEFAULT_SYSCONFDIR
+ if (DEFAULT_SYSCONFDIR != "")
+ ADD_DIRECTORY(DEFAULT_SYSCONFDIR);
diff --git a/databases/mysql60-server/Makefile b/databases/mysql60-server/Makefile
index 80713448d2be..24aabf6aa678 100644
--- a/databases/mysql60-server/Makefile
+++ b/databases/mysql60-server/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME?= mysql
-PORTVERSION= 5.1.22
+PORTVERSION= 5.1.23
PORTREVISION?= 0
CATEGORIES= databases
MASTER_SITES= ${MASTER_SITE_MYSQL}
diff --git a/databases/mysql60-server/distinfo b/databases/mysql60-server/distinfo
index fc4e16e39f3b..41af34454d24 100644
--- a/databases/mysql60-server/distinfo
+++ b/databases/mysql60-server/distinfo
@@ -1,3 +1,3 @@
-MD5 (mysql-5.1.22-rc.tar.gz) = 87be813d1b2d76b1c756de0a16fa29fb
-SHA256 (mysql-5.1.22-rc.tar.gz) = 1bce64c7e8fe476828644cbc05157fc84fe02e9c13379d1611fbd7d27c0721ec
-SIZE (mysql-5.1.22-rc.tar.gz) = 28662040
+MD5 (mysql-5.1.23-rc.tar.gz) = d6ca3009eee24a8e396b8f667b3bd8df
+SHA256 (mysql-5.1.23-rc.tar.gz) = 713ca3fa746d99618833ed314868d294e308b38419aa4c72eb64deda97799fec
+SIZE (mysql-5.1.23-rc.tar.gz) = 27263946
diff --git a/databases/mysql60-server/files/patch-Docs::Makefile.in b/databases/mysql60-server/files/patch-Docs::Makefile.in
index 677da903d045..51888b7712cc 100644
--- a/databases/mysql60-server/files/patch-Docs::Makefile.in
+++ b/databases/mysql60-server/files/patch-Docs::Makefile.in
@@ -1,15 +1,15 @@
---- Docs/Makefile.in.orig Fri Jun 2 20:02:56 2006
-+++ Docs/Makefile.in Thu Jun 15 07:18:41 2006
-@@ -370,7 +370,7 @@
- # generated files explicitly in DISTCLEANFILES.
- DISTCLEANFILES = $(TXT_FILES)
- GT = $(srcdir)/generate-text-files.pl
+--- Docs/Makefile.in.orig 2008-01-29 22:43:40.000000000 +0100
++++ Docs/Makefile.in 2008-02-14 08:21:57.000000000 +0100
+@@ -368,7 +368,7 @@
+ yassl_taocrypt_extra_cxxflags = @yassl_taocrypt_extra_cxxflags@
+ zlib_dir = @zlib_dir@
+ EXTRA_DIST = mysql.info INSTALL-BINARY @extra_docs@
-all: all-am
+all:
.SUFFIXES:
$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
-@@ -458,7 +458,7 @@
+@@ -453,7 +453,7 @@
install-data: install-data-am
uninstall: uninstall-am
diff --git a/databases/mysql60-server/files/patch-Makefile.in b/databases/mysql60-server/files/patch-Makefile.in
index dc92a178a9e8..bea65ccf9521 100644
--- a/databases/mysql60-server/files/patch-Makefile.in
+++ b/databases/mysql60-server/files/patch-Makefile.in
@@ -1,12 +1,12 @@
---- Makefile.in.orig Tue May 8 11:43:16 2007
-+++ Makefile.in Thu May 17 09:28:15 2007
-@@ -396,14 +396,7 @@
+--- Makefile.in.orig 2008-01-29 22:44:32.000000000 +0100
++++ Makefile.in 2008-02-14 08:23:39.000000000 +0100
+@@ -398,14 +398,7 @@
EXTRA_DIST = INSTALL-SOURCE INSTALL-WIN-SOURCE \
README COPYING EXCEPTIONS-CLIENT CMakeLists.txt
-SUBDIRS = . include @docs_dirs@ @zlib_dir@ \
- @readline_topdir@ sql-common scripts \
-- @thread_dirs@ pstack \
+- @pstack_dir@ \
- @sql_union_dirs@ unittest storage plugin \
- @sql_server@ @man_dirs@ tests \
- netware @libmysqld_dirs@ \
@@ -14,5 +14,5 @@
- win
+SUBDIRS =
- DIST_SUBDIRS = $(SUBDIRS) BUILD debian
- DISTCLEANFILES = ac_available_languages_fragment
+ DIST_SUBDIRS = . include Docs zlib \
+ cmd-line-utils sql-common scripts \
diff --git a/databases/mysql60-server/files/patch-client_mysql_upgrade.c b/databases/mysql60-server/files/patch-client_mysql_upgrade.c
index cc29b97ddc60..14c5130605c7 100644
--- a/databases/mysql60-server/files/patch-client_mysql_upgrade.c
+++ b/databases/mysql60-server/files/patch-client_mysql_upgrade.c
@@ -1,36 +1,13 @@
---- client/mysql_upgrade.c.orig Tue Aug 28 11:16:33 2007
-+++ client/mysql_upgrade.c Tue Aug 28 11:22:24 2007
-@@ -395,7 +395,6 @@
- path[0]= 0;
- }
- }
-- do
- {
- size_t path_len;
- DBUG_PRINT("enter", ("path: %s", path));
-@@ -411,22 +410,14 @@
- path, "", MYF(MY_REPLACE_DIR));
+--- client/mysql_upgrade.c.orig 2008-01-29 22:42:00.000000000 +0100
++++ client/mysql_upgrade.c 2008-02-14 08:29:52.000000000 +0100
+@@ -427,10 +427,6 @@
- verbose("Looking for '%s' in: %s", tool_name, tool_path);
--
-- /* Make sure the tool exists */
-- if (my_access(tool_path, F_OK) != 0)
-- die("Can't find '%s'", tool_path);
--
-- /*
-- Make sure it can be executed, otherwise try again
-- in higher level directory
-- */
- }
-- while(run_tool(tool_path,
-+ if(run_tool(tool_path,
- &ds_tmp, /* Get output from command, discard*/
- "--help",
- "2>&1",
- IF_WIN("> NUL", "> /dev/null"),
-- NULL));
-+ NULL))
-+ die("Can't run '%s'", tool_path);
-
- dynstr_free(&ds_tmp);
+ verbose("Looking for '%s' in: %s", tool_name, tool_path);
+- /* Make sure the tool exists */
+- if (my_access(tool_path, F_OK) != 0)
+- die("Can't find '%s'", tool_path);
+-
+ /*
+ Make sure it can be executed
+ */
diff --git a/databases/mysql60-server/files/patch-include_my_global.h b/databases/mysql60-server/files/patch-include_my_global.h
deleted file mode 100644
index be6bf96f1841..000000000000
--- a/databases/mysql60-server/files/patch-include_my_global.h
+++ /dev/null
@@ -1,27 +0,0 @@
---- include/my_global.h.orig Mon Jul 2 08:06:55 2007
-+++ include/my_global.h Mon Jul 2 08:07:53 2007
-@@ -561,12 +561,6 @@
- #define PURIFY_OR_LINT_INIT(var)
- #endif
-
--/* Define some useful general macros */
--#if !defined(max)
--#define max(a, b) ((a) > (b) ? (a) : (b))
--#define min(a, b) ((a) < (b) ? (a) : (b))
--#endif
--
- #if !defined(HAVE_UINT)
- #undef HAVE_UINT
- #define HAVE_UINT
-@@ -1508,5 +1502,11 @@
-
- /* Length of decimal number represented by INT64. */
- #define MY_INT64_NUM_DECIMAL_DIGITS 21
-+
-+/* Define some useful general macros */
-+#if !defined(max)
-+#define max(a, b) ((a) > (b) ? (a) : (b))
-+#define min(a, b) ((a) < (b) ? (a) : (b))
-+#endif
-
- #endif /* my_global_h */
diff --git a/databases/mysql60-server/files/patch-mysys_default.c b/databases/mysql60-server/files/patch-mysys_default.c
index 02f3fa45eb91..66605f0694f9 100644
--- a/databases/mysql60-server/files/patch-mysys_default.c
+++ b/databases/mysql60-server/files/patch-mysys_default.c
@@ -1,6 +1,6 @@
---- mysys/default.c.orig Tue Jan 30 09:34:13 2007
-+++ mysys/default.c Sat Feb 3 17:12:31 2007
-@@ -608,7 +608,7 @@
+--- mysys/default.c.orig 2008-01-29 22:41:43.000000000 +0100
++++ mysys/default.c 2008-02-14 11:03:21.000000000 +0100
+@@ -623,7 +623,7 @@
{
MY_STAT stat_info;
if (!my_stat(name,&stat_info,MYF(0)))
@@ -9,15 +9,12 @@
/*
Ignore world-writable regular files.
This is mainly done to protect us to not read a file created by
-@@ -1013,9 +1013,9 @@
- #else
- *ptr++= "/etc/";
- *ptr++= "/etc/mysql/";
-+ *ptr++= "%%PREFIX%%/etc/";
-+ *ptr++= "%%PREFIX%%/etc/mysql/";
- #endif
-- if ((env= getenv(STRINGIFY_ARG(DEFAULT_HOME_ENV))))
-- *ptr++= env;
- *ptr++= ""; /* Place for defaults_extra_file */
- #if !defined(__WIN__) && !defined(__NETWARE__)
- *ptr++= "~/";;
+@@ -1102,6 +1102,8 @@
+ bzero((char *) default_directories, sizeof(default_directories));
+ ADD_DIRECTORY("/etc/");
+ ADD_DIRECTORY("/etc/mysql/");
++ ADD_DIRECTORY("%%PREFIX%%/etc/");
++ ADD_DIRECTORY("%%PREFIX%%/etc/mysql/");
+ #ifdef DEFAULT_SYSCONFDIR
+ if (DEFAULT_SYSCONFDIR != "")
+ ADD_DIRECTORY(DEFAULT_SYSCONFDIR);
diff --git a/databases/percona55-server/Makefile b/databases/percona55-server/Makefile
index 80713448d2be..24aabf6aa678 100644
--- a/databases/percona55-server/Makefile
+++ b/databases/percona55-server/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME?= mysql
-PORTVERSION= 5.1.22
+PORTVERSION= 5.1.23
PORTREVISION?= 0
CATEGORIES= databases
MASTER_SITES= ${MASTER_SITE_MYSQL}
diff --git a/databases/percona55-server/distinfo b/databases/percona55-server/distinfo
index fc4e16e39f3b..41af34454d24 100644
--- a/databases/percona55-server/distinfo
+++ b/databases/percona55-server/distinfo
@@ -1,3 +1,3 @@
-MD5 (mysql-5.1.22-rc.tar.gz) = 87be813d1b2d76b1c756de0a16fa29fb
-SHA256 (mysql-5.1.22-rc.tar.gz) = 1bce64c7e8fe476828644cbc05157fc84fe02e9c13379d1611fbd7d27c0721ec
-SIZE (mysql-5.1.22-rc.tar.gz) = 28662040
+MD5 (mysql-5.1.23-rc.tar.gz) = d6ca3009eee24a8e396b8f667b3bd8df
+SHA256 (mysql-5.1.23-rc.tar.gz) = 713ca3fa746d99618833ed314868d294e308b38419aa4c72eb64deda97799fec
+SIZE (mysql-5.1.23-rc.tar.gz) = 27263946
diff --git a/databases/percona55-server/files/patch-Docs::Makefile.in b/databases/percona55-server/files/patch-Docs::Makefile.in
index 677da903d045..51888b7712cc 100644
--- a/databases/percona55-server/files/patch-Docs::Makefile.in
+++ b/databases/percona55-server/files/patch-Docs::Makefile.in
@@ -1,15 +1,15 @@
---- Docs/Makefile.in.orig Fri Jun 2 20:02:56 2006
-+++ Docs/Makefile.in Thu Jun 15 07:18:41 2006
-@@ -370,7 +370,7 @@
- # generated files explicitly in DISTCLEANFILES.
- DISTCLEANFILES = $(TXT_FILES)
- GT = $(srcdir)/generate-text-files.pl
+--- Docs/Makefile.in.orig 2008-01-29 22:43:40.000000000 +0100
++++ Docs/Makefile.in 2008-02-14 08:21:57.000000000 +0100
+@@ -368,7 +368,7 @@
+ yassl_taocrypt_extra_cxxflags = @yassl_taocrypt_extra_cxxflags@
+ zlib_dir = @zlib_dir@
+ EXTRA_DIST = mysql.info INSTALL-BINARY @extra_docs@
-all: all-am
+all:
.SUFFIXES:
$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
-@@ -458,7 +458,7 @@
+@@ -453,7 +453,7 @@
install-data: install-data-am
uninstall: uninstall-am
diff --git a/databases/percona55-server/files/patch-Makefile.in b/databases/percona55-server/files/patch-Makefile.in
index dc92a178a9e8..bea65ccf9521 100644
--- a/databases/percona55-server/files/patch-Makefile.in
+++ b/databases/percona55-server/files/patch-Makefile.in
@@ -1,12 +1,12 @@
---- Makefile.in.orig Tue May 8 11:43:16 2007
-+++ Makefile.in Thu May 17 09:28:15 2007
-@@ -396,14 +396,7 @@
+--- Makefile.in.orig 2008-01-29 22:44:32.000000000 +0100
++++ Makefile.in 2008-02-14 08:23:39.000000000 +0100
+@@ -398,14 +398,7 @@
EXTRA_DIST = INSTALL-SOURCE INSTALL-WIN-SOURCE \
README COPYING EXCEPTIONS-CLIENT CMakeLists.txt
-SUBDIRS = . include @docs_dirs@ @zlib_dir@ \
- @readline_topdir@ sql-common scripts \
-- @thread_dirs@ pstack \
+- @pstack_dir@ \
- @sql_union_dirs@ unittest storage plugin \
- @sql_server@ @man_dirs@ tests \
- netware @libmysqld_dirs@ \
@@ -14,5 +14,5 @@
- win
+SUBDIRS =
- DIST_SUBDIRS = $(SUBDIRS) BUILD debian
- DISTCLEANFILES = ac_available_languages_fragment
+ DIST_SUBDIRS = . include Docs zlib \
+ cmd-line-utils sql-common scripts \
diff --git a/databases/percona55-server/files/patch-client_mysql_upgrade.c b/databases/percona55-server/files/patch-client_mysql_upgrade.c
index cc29b97ddc60..14c5130605c7 100644
--- a/databases/percona55-server/files/patch-client_mysql_upgrade.c
+++ b/databases/percona55-server/files/patch-client_mysql_upgrade.c
@@ -1,36 +1,13 @@
---- client/mysql_upgrade.c.orig Tue Aug 28 11:16:33 2007
-+++ client/mysql_upgrade.c Tue Aug 28 11:22:24 2007
-@@ -395,7 +395,6 @@
- path[0]= 0;
- }
- }
-- do
- {
- size_t path_len;
- DBUG_PRINT("enter", ("path: %s", path));
-@@ -411,22 +410,14 @@
- path, "", MYF(MY_REPLACE_DIR));
+--- client/mysql_upgrade.c.orig 2008-01-29 22:42:00.000000000 +0100
++++ client/mysql_upgrade.c 2008-02-14 08:29:52.000000000 +0100
+@@ -427,10 +427,6 @@
- verbose("Looking for '%s' in: %s", tool_name, tool_path);
--
-- /* Make sure the tool exists */
-- if (my_access(tool_path, F_OK) != 0)
-- die("Can't find '%s'", tool_path);
--
-- /*
-- Make sure it can be executed, otherwise try again
-- in higher level directory
-- */
- }
-- while(run_tool(tool_path,
-+ if(run_tool(tool_path,
- &ds_tmp, /* Get output from command, discard*/
- "--help",
- "2>&1",
- IF_WIN("> NUL", "> /dev/null"),
-- NULL));
-+ NULL))
-+ die("Can't run '%s'", tool_path);
-
- dynstr_free(&ds_tmp);
+ verbose("Looking for '%s' in: %s", tool_name, tool_path);
+- /* Make sure the tool exists */
+- if (my_access(tool_path, F_OK) != 0)
+- die("Can't find '%s'", tool_path);
+-
+ /*
+ Make sure it can be executed
+ */
diff --git a/databases/percona55-server/files/patch-include_my_global.h b/databases/percona55-server/files/patch-include_my_global.h
deleted file mode 100644
index be6bf96f1841..000000000000
--- a/databases/percona55-server/files/patch-include_my_global.h
+++ /dev/null
@@ -1,27 +0,0 @@
---- include/my_global.h.orig Mon Jul 2 08:06:55 2007
-+++ include/my_global.h Mon Jul 2 08:07:53 2007
-@@ -561,12 +561,6 @@
- #define PURIFY_OR_LINT_INIT(var)
- #endif
-
--/* Define some useful general macros */
--#if !defined(max)
--#define max(a, b) ((a) > (b) ? (a) : (b))
--#define min(a, b) ((a) < (b) ? (a) : (b))
--#endif
--
- #if !defined(HAVE_UINT)
- #undef HAVE_UINT
- #define HAVE_UINT
-@@ -1508,5 +1502,11 @@
-
- /* Length of decimal number represented by INT64. */
- #define MY_INT64_NUM_DECIMAL_DIGITS 21
-+
-+/* Define some useful general macros */
-+#if !defined(max)
-+#define max(a, b) ((a) > (b) ? (a) : (b))
-+#define min(a, b) ((a) < (b) ? (a) : (b))
-+#endif
-
- #endif /* my_global_h */
diff --git a/databases/percona55-server/files/patch-mysys_default.c b/databases/percona55-server/files/patch-mysys_default.c
index 02f3fa45eb91..66605f0694f9 100644
--- a/databases/percona55-server/files/patch-mysys_default.c
+++ b/databases/percona55-server/files/patch-mysys_default.c
@@ -1,6 +1,6 @@
---- mysys/default.c.orig Tue Jan 30 09:34:13 2007
-+++ mysys/default.c Sat Feb 3 17:12:31 2007
-@@ -608,7 +608,7 @@
+--- mysys/default.c.orig 2008-01-29 22:41:43.000000000 +0100
++++ mysys/default.c 2008-02-14 11:03:21.000000000 +0100
+@@ -623,7 +623,7 @@
{
MY_STAT stat_info;
if (!my_stat(name,&stat_info,MYF(0)))
@@ -9,15 +9,12 @@
/*
Ignore world-writable regular files.
This is mainly done to protect us to not read a file created by
-@@ -1013,9 +1013,9 @@
- #else
- *ptr++= "/etc/";
- *ptr++= "/etc/mysql/";
-+ *ptr++= "%%PREFIX%%/etc/";
-+ *ptr++= "%%PREFIX%%/etc/mysql/";
- #endif
-- if ((env= getenv(STRINGIFY_ARG(DEFAULT_HOME_ENV))))
-- *ptr++= env;
- *ptr++= ""; /* Place for defaults_extra_file */
- #if !defined(__WIN__) && !defined(__NETWARE__)
- *ptr++= "~/";;
+@@ -1102,6 +1102,8 @@
+ bzero((char *) default_directories, sizeof(default_directories));
+ ADD_DIRECTORY("/etc/");
+ ADD_DIRECTORY("/etc/mysql/");
++ ADD_DIRECTORY("%%PREFIX%%/etc/");
++ ADD_DIRECTORY("%%PREFIX%%/etc/mysql/");
+ #ifdef DEFAULT_SYSCONFDIR
+ if (DEFAULT_SYSCONFDIR != "")
+ ADD_DIRECTORY(DEFAULT_SYSCONFDIR);