summaryrefslogtreecommitdiffstats
path: root/databases/mysql54-server
diff options
context:
space:
mode:
authordirk <dirk@FreeBSD.org>2002-11-10 17:11:59 +0000
committerdirk <dirk@FreeBSD.org>2002-11-10 17:11:59 +0000
commitfeca65fb5de84cb62836b261393175d0bf769102 (patch)
tree96483cb759ffb757ea75168251a1e3e56b44bc8d /databases/mysql54-server
parent70a8fbedbaae89e630fc0ac8347ee229a3146fe6 (diff)
downloadFreeBSD-ports-feca65fb5de84cb62836b261393175d0bf769102.zip
FreeBSD-ports-feca65fb5de84cb62836b261393175d0bf769102.tar.gz
Fix build on 5.0-CURRENT.
Submitted by: sobomax
Diffstat (limited to 'databases/mysql54-server')
-rw-r--r--databases/mysql54-server/files/patch-sql_mysqld.cc11
1 files changed, 11 insertions, 0 deletions
diff --git a/databases/mysql54-server/files/patch-sql_mysqld.cc b/databases/mysql54-server/files/patch-sql_mysqld.cc
new file mode 100644
index 0000000..e71985e
--- /dev/null
+++ b/databases/mysql54-server/files/patch-sql_mysqld.cc
@@ -0,0 +1,11 @@
+--- sql/mysqld.cc.orig Wed Aug 14 00:08:13 2002
++++ sql/mysqld.cc Sun Nov 10 10:23:55 2002
+@@ -92,7 +92,7 @@
+ int allow_severity = LOG_INFO;
+ int deny_severity = LOG_WARNING;
+
+-#ifdef __STDC__
++#if defined(__STDC__) && !defined(__FreeBSD__)
+ #define my_fromhost(A) fromhost(A)
+ #define my_hosts_access(A) hosts_access(A)
+ #define my_eval_client(A) eval_client(A)
OpenPOWER on IntegriCloud