diff options
author | Norikatsu Shigemura <nork@FreeBSD.org> | 2003-02-05 15:34:09 +0000 |
---|---|---|
committer | Norikatsu Shigemura <nork@FreeBSD.org> | 2003-02-05 15:34:09 +0000 |
commit | 52a1683f7552947bd059bf1a42d08f08af794961 (patch) | |
tree | 737761fae46cdfa14b3c4498b811f6c40612cd44 /databases/mysql55-server/files/patch-sql::mysqld.cc | |
parent | 4aa80a5750d09dfd5ff132394c524eebf723b5a9 (diff) |
o Definitely fix building on -current.
o Really overwrite databases when OVERWRITE_DB is set.
o Automatically skip installing databases if they already exist
(unless OVERWRITE_DB is set).
PR: ports/47945
Submitted by: Alex Dupre <sysadmin@alexdupre.com> (maintainer)
Notes
Notes:
svn path=/head/; revision=74879
Diffstat (limited to 'databases/mysql55-server/files/patch-sql::mysqld.cc')
-rw-r--r-- | databases/mysql55-server/files/patch-sql::mysqld.cc | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/databases/mysql55-server/files/patch-sql::mysqld.cc b/databases/mysql55-server/files/patch-sql::mysqld.cc new file mode 100644 index 000000000000..1d0288494fb5 --- /dev/null +++ b/databases/mysql55-server/files/patch-sql::mysqld.cc @@ -0,0 +1,12 @@ +--- sql/mysqld.cc.orig Wed Feb 5 01:55:03 2003 ++++ sql/mysqld.cc Wed Feb 5 01:57:06 2003 +@@ -104,7 +104,8 @@ + int allow_severity = LOG_INFO; + int deny_severity = LOG_WARNING; + +-#ifdef __STDC__ ++#include <osreldate.h> ++#if defined(__STDC__) && __FreeBSD_version < 500000 + #define my_fromhost(A) fromhost(A) + #define my_hosts_access(A) hosts_access(A) + #define my_eval_client(A) eval_client(A) |