1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-28 05:29:48 +00:00
freebsd-ports/databases/mysql50-server/files/patch-sql_mysqld.cc
Dirk Froemberg d649ce27bb -STABLE exits with signal 11 while connecting via TCP/IP if empty
prototypes are used. -CURRENT needs empty prototypes to build. Use
__FreeBSD_version to differentiate.

Set CXX to $CC on -STABLE again to get around stability problems
under heavy load.
2002-11-13 10:38:20 +00:00

13 lines
397 B
C++

--- sql/mysqld.cc.orig Thu Oct 10 12:17:28 2002
+++ sql/mysqld.cc Tue Nov 12 23:23:27 2002
@@ -92,7 +92,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)