aboutsummaryrefslogtreecommitdiffstats
path: root/databases/mariadb55-server
diff options
context:
space:
mode:
authormat <mat@FreeBSD.org>2017-01-10 00:40:25 +0800
committermat <mat@FreeBSD.org>2017-01-10 00:40:25 +0800
commit178def01c45099a76f5836359fdc495504be05af (patch)
tree8c558affbe41469b828f5f2de5e07c9e244bd6ab /databases/mariadb55-server
parentbebe4c54bf34dceafa0108ba36794292e08ae755 (diff)
downloadfreebsd-ports-gnome-178def01c45099a76f5836359fdc495504be05af.tar.gz
freebsd-ports-gnome-178def01c45099a76f5836359fdc495504be05af.tar.zst
freebsd-ports-gnome-178def01c45099a76f5836359fdc495504be05af.zip
Fix patch.
Sponsored by: Absolight
Diffstat (limited to 'databases/mariadb55-server')
-rw-r--r--databases/mariadb55-server/files/patch-scripts_mysqld_safe.sh10
1 files changed, 5 insertions, 5 deletions
diff --git a/databases/mariadb55-server/files/patch-scripts_mysqld_safe.sh b/databases/mariadb55-server/files/patch-scripts_mysqld_safe.sh
index 2a30469922f0..a2d582ec94be 100644
--- a/databases/mariadb55-server/files/patch-scripts_mysqld_safe.sh
+++ b/databases/mariadb55-server/files/patch-scripts_mysqld_safe.sh
@@ -1,6 +1,6 @@
---- scripts/mysqld_safe.sh.orig 2007-10-08 10:39:23.000000000 +0200
-+++ scripts/mysqld_safe.sh 2007-10-08 10:40:52.000000000 +0200
-@@ -242,10 +242,10 @@
+--- scripts/mysqld_safe.sh.orig 2017-01-09 14:36:43 UTC
++++ scripts/mysqld_safe.sh
+@@ -468,10 +468,10 @@ fi
if test -z "$MYSQL_HOME"
then
@@ -13,12 +13,12 @@
$DATADIR/my.cnf
IGNORING $DATADIR/my.cnf"
-@@ -254,7 +254,7 @@
+@@ -480,7 +480,7 @@ IGNORING $DATADIR/my.cnf"
then
log_error "WARNING: Found $DATADIR/my.cnf
The data directory is a deprecated location for my.cnf, please move it to
-$MY_BASEDIR_VERSION/my.cnf"
+$MY_BASEDIR_VERSION/etc/my.cnf"
+ unsafe_my_cnf=1
MYSQL_HOME=$DATADIR
else
- MYSQL_HOME=$MY_BASEDIR_VERSION