Tested by giovanni@ on amd64 and several ports@ readers. No problems found with a complete bulk build.
13 lines
429 B
Plaintext
13 lines
429 B
Plaintext
$OpenBSD: patch-sql_mysqld_cc,v 1.16 2009/07/27 15:19:15 sthen Exp $
|
|
--- sql/mysqld.cc.orig Tue Jun 16 08:29:48 2009
|
|
+++ sql/mysqld.cc Wed Jul 1 18:50:55 2009
|
|
@@ -4303,7 +4303,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
|
|
|