aboutsummaryrefslogtreecommitdiff
path: root/databases/mysql50-server
diff options
context:
space:
mode:
authorAlex Dupre <ale@FreeBSD.org>2007-12-12 09:09:53 +0000
committerAlex Dupre <ale@FreeBSD.org>2007-12-12 09:09:53 +0000
commit6b6fb34f83331cdd32da5c54f0546e869597911a (patch)
treec4560bf63a9dada9fcdb11949fb71f12c7b4c6cf /databases/mysql50-server
parent0e9e546b77815c2d61d43ccafe1ff77418657ee6 (diff)
downloadports-6b6fb34f83331cdd32da5c54f0546e869597911a.tar.gz
ports-6b6fb34f83331cdd32da5c54f0546e869597911a.zip
Notes
Diffstat (limited to 'databases/mysql50-server')
-rw-r--r--databases/mysql50-server/files/patch-client_mysql_upgrade.c13
-rw-r--r--databases/mysql50-server/files/patch-scripts_mysqld_safe.sh24
2 files changed, 37 insertions, 0 deletions
diff --git a/databases/mysql50-server/files/patch-client_mysql_upgrade.c b/databases/mysql50-server/files/patch-client_mysql_upgrade.c
new file mode 100644
index 000000000000..36cdf88f450e
--- /dev/null
+++ b/databases/mysql50-server/files/patch-client_mysql_upgrade.c
@@ -0,0 +1,13 @@
+--- client/mysql_upgrade.c.orig 2007-11-15 15:06:52.000000000 +0100
++++ client/mysql_upgrade.c 2007-12-12 10:07:23.000000000 +0100
+@@ -411,10 +411,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
+ */
diff --git a/databases/mysql50-server/files/patch-scripts_mysqld_safe.sh b/databases/mysql50-server/files/patch-scripts_mysqld_safe.sh
new file mode 100644
index 000000000000..960a8458d37a
--- /dev/null
+++ b/databases/mysql50-server/files/patch-scripts_mysqld_safe.sh
@@ -0,0 +1,24 @@
+--- scripts/mysqld_safe.sh.orig 2007-12-12 10:04:16.000000000 +0100
++++ scripts/mysqld_safe.sh 2007-12-12 10:04:52.000000000 +0100
+@@ -152,10 +152,10 @@
+
+ if test -z "$MYSQL_HOME"
+ then
+- if test -r "$MY_BASEDIR_VERSION/my.cnf" && test -r "$DATADIR/my.cnf"
++ if test -r "$MY_BASEDIR_VERSION/etc/my.cnf" && test -r "$DATADIR/my.cnf"
+ then
+ echo "WARNING: Found two instances of my.cnf -"
+- echo "$MY_BASEDIR_VERSION/my.cnf and"
++ echo "$MY_BASEDIR_VERSION/etc/my.cnf and"
+ echo "$DATADIR/my.cnf"
+ echo "IGNORING $DATADIR/my.cnf"
+ echo
+@@ -163,7 +163,7 @@
+ elif test -r "$DATADIR/my.cnf"
+ then
+ echo "WARNING: Found $DATADIR/my.cnf"
+- echo "Datadir is deprecated place for my.cnf, please move it to $MY_BASEDIR_VERSION"
++ echo "Datadir is deprecated place for my.cnf, please move it to $MY_BASEDIR_VERSION/etc"
+ echo
+ MYSQL_HOME=$DATADIR
+ else