bind 9.8.1
[git/cygwin-packages/bind.git] / 9.7.1-lwconfig-win32.patch
CommitLineData
ab42df8b 1--- origsrc/bind-9.7.1/lib/lwres/Makefile.in 2010-07-01 13:09:41.870012400 -0500
2+++ src/bind-9.7.1/lib/lwres/Makefile.in 2010-07-01 13:15:17.903232400 -0500
3@@ -46,7 +46,7 @@ SRCS = context.c gai_strerror.c getaddr
4 lwinetaton.c lwinetpton.c lwinetntop.c print.c \
5 strtoul.c
6
7-LIBS = @LIBS@
8+LIBS = @LIBS@ -liphlpapi
9
10 SUBDIRS = include man unix
11 TARGETS = timestamp
12--- origsrc/bind-9.7.1/lib/lwres/lwconfig.c 2008-12-17 17:47:58.000000000 -0600
13+++ src/bind-9.7.1/lib/lwres/lwconfig.c 2010-07-01 02:40:22.549302800 -0500
14@@ -53,6 +53,11 @@
15 * /etc/resolv.conf
16 */
17
18+#if defined(__CYGWIN__) && !defined(CYGWIN_LWCONFIG_C)
19+#define CYGWIN_LWCONFIG_C
20+#include "win32/lwconfig.c"
21+#else
22+
23 #include <config.h>
24
25 #include <assert.h>
26@@ -726,3 +731,5 @@ lwres_conf_get(lwres_context_t *ctx) {
27
28 return (&ctx->confdata);
29 }
30+
31+#endif /* __CYGWIN__ */
32--- origsrc/bind-9.7.1/lib/lwres/win32/lwconfig.c 2007-12-13 19:40:42.000000000 -0600
33+++ src/bind-9.7.1/lib/lwres/win32/lwconfig.c 2010-07-01 04:00:44.476101200 -0500
34@@ -39,6 +39,7 @@
35 #include "../lwconfig.c"
36 #undef lwres_conf_parse
37
38+#include <windows.h>
39 #include <iphlpapi.h>
40
41 #define TCPIP_SUBKEY \
This page took 0.020881 seconds and 5 git commands to generate.