openbsd-ports/databases/mysql/patches/patch-sql_mysqld_cc
giovanni 60f907639b Update to 5.1.63
from Brad (Maintainer)
ok ajacoutot@
2012-05-11 14:32:36 +00:00

13 lines
444 B
Plaintext

$OpenBSD: patch-sql_mysqld_cc,v 1.27 2012/05/11 14:32:36 giovanni Exp $
--- sql/mysqld.cc.orig Mon Apr 16 02:50:06 2012
+++ sql/mysqld.cc Thu May 10 15:18:41 2012
@@ -4298,7 +4298,7 @@ int main(int argc, char **argv)
select_thread_in_use=1;
#ifdef HAVE_LIBWRAP
- libwrapName= my_progname+dirname_length(my_progname);
+ libwrapName= (char *) my_progname+dirname_length(my_progname);
openlog(libwrapName, LOG_PID, LOG_AUTH);
#endif