openbsd-ports/databases/mysql/patches/patch-sql_mysqld_cc

13 lines
427 B
Plaintext
Raw Normal View History

2006-10-14 01:04:54 -04:00
$OpenBSD: patch-sql_mysqld_cc,v 1.6 2006/10/14 05:04:54 brad Exp $
--- sql/mysqld.cc.orig Wed Oct 4 07:24:09 2006
+++ sql/mysqld.cc Thu Oct 12 05:18:57 2006
@@ -3377,7 +3377,7 @@ int main(int argc, char **argv)
2006-01-05 19:13:26 -05:00
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