1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-15 03:14:23 +00:00
freebsd-ports/databases/mysql54-server/files/patch-sql::mysqld.cc
Norikatsu Shigemura 52a1683f75 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)
2003-02-05 15:34:09 +00:00

13 lines
399 B
C++

--- 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)