]> git.pld-linux.org Git - packages/ntp.git/blob - ntp-4.2.4p4-resinit.patch
openssl rebuild
[packages/ntp.git] / ntp-4.2.4p4-resinit.patch
1 diff -up ntp-4.2.4p5/ntpd/ntp_intres.c.resinit ntp-4.2.4p5/ntpd/ntp_intres.c
2 --- ntp-4.2.4p5/ntpd/ntp_intres.c.resinit       2008-08-10 13:02:43.000000000 +0200
3 +++ ntp-4.2.4p5/ntpd/ntp_intres.c       2008-10-07 14:54:20.000000000 +0200
4 @@ -39,6 +39,7 @@
5  /**/
6  #include <netinet/in.h>
7  #include <arpa/inet.h>
8 +#include <resolv.h>
9  /**/
10  #ifdef HAVE_SYS_PARAM_H
11  # include <sys/param.h>                /* MAXHOSTNAMELEN (often) */
12 @@ -272,6 +273,7 @@ ntp_intres(void)
13                          * Sleep a little to make sure the network is completely up
14                          */
15                         sleep(SLEEPTIME);
16 +                       res_init();
17                         doconfigure(1);
18  
19                         /* prepare retry, in case there's more work to do */
This page took 0.033165 seconds and 3 git commands to generate.