]> git.pld-linux.org Git - packages/mysql.git/blob - mysql-libwrap.patch
convert to utf8
[packages/mysql.git] / mysql-libwrap.patch
1 diff -urN mysql-4.0.24.org/sql/mysqld.cc mysql-4.0.24/sql/mysqld.cc
2 --- mysql-4.0.24.org/sql/mysqld.cc      2005-03-05 01:38:14.000000000 +0100
3 +++ mysql-4.0.24/sql/mysqld.cc  2005-03-13 12:11:01.312220224 +0100
4 @@ -99,7 +99,16 @@
5  #endif /* __WIN__ */
6  
7  #ifdef HAVE_LIBWRAP
8 +#define hosts_access hosts_access_old
9 +#define sock_host sock_host_old
10 +#define eval_client eval_client_old
11  #include <tcpd.h>
12 +#undef hosts_access
13 +#undef sock_host
14 +#undef eval_client
15 +extern int hosts_access(struct request_info *);
16 +extern int sock_host(struct request_info *);
17 +extern int eval_client(struct request_info *);
18  #include <syslog.h>
19  #ifdef NEED_SYS_SYSLOG_H
20  #include <sys/syslog.h>
This page took 0.08254 seconds and 3 git commands to generate.