openbsd-ports/databases/mysql/patches/patch-sql_mysqld_cc
2009-05-29 08:42:06 +00:00

13 lines
429 B
Plaintext

$OpenBSD: patch-sql_mysqld_cc,v 1.15 2009/05/29 08:42:06 sthen Exp $
--- sql/mysqld.cc.orig Thu May 7 17:15:02 2009
+++ sql/mysqld.cc Thu May 28 17:45:10 2009
@@ -3750,7 +3750,7 @@ int main(int argc, char **argv)
init_ssl();
#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