]> git.pld-linux.org Git - packages/mysql.git/blob - mysql-libwrap.patch
- update datadir and pidfile paths
[packages/mysql.git] / mysql-libwrap.patch
1 --- mysql-4.1.9/sql/mysqld.cc.orig      2005-01-11 23:06:00.000000000 +0100
2 +++ mysql-4.1.9/sql/mysqld.cc   2005-02-06 17:21:26.238717200 +0100
3 @@ -133,7 +133,16 @@
4  #endif /* __WIN__ */
5  
6  #ifdef HAVE_LIBWRAP
7 +#define hosts_access hosts_access_old
8 +#define sock_host sock_host_old
9 +#define eval_client eval_client_old
10  #include <tcpd.h>
11 +#undef hosts_access
12 +#undef sock_host
13 +#undef eval_client
14 +extern int hosts_access(struct request_info *);
15 +extern int sock_host(struct request_info *);
16 +extern int eval_client(struct request_info *);
17  #include <syslog.h>
18  #ifdef NEED_SYS_SYSLOG_H
19  #include <sys/syslog.h>
This page took 0.052173 seconds and 3 git commands to generate.