Ticket #11283: php_config.h.patch

File php_config.h.patch, 1.2 KB (added by synfinatic@…, 16 years ago)

patch against main/php_config (post configure) to fix build against Bind9

Line 
1*** main/php_config.h   Thu May  8 12:39:18 2008
2--- /var/root/php_config.h      Thu May  8 12:35:32 2008
3***************
4*** 2572,2593 ****
5  /* #undef ENABLE_CHROOT_FUNC */
6 
7  /*   */
8! #define HAVE_RES_NMKQUERY 1
9 
10  /*   */
11! #define HAVE_RES_NMKQUERY 1
12 
13  /*   */
14  /* #undef HAVE_LIBRESOLV */
15 
16  /*   */
17! #define HAVE_RES_NMKQUERY 1
18 
19  /*   */
20  #define HAVE_LIBBIND 1
21 
22  /*   */
23! #define HAVE_RES_NMKQUERY 1
24 
25  /*   */
26  /* #undef HAVE_LIBSOCKET */
27--- 2572,2593 ----
28  /* #undef ENABLE_CHROOT_FUNC */
29 
30  /*   */
31! //#define HAVE_RES_NMKQUERY 1
32 
33  /*   */
34! // #define HAVE_RES_NMKQUERY 1
35 
36  /*   */
37  /* #undef HAVE_LIBRESOLV */
38 
39  /*   */
40! // #define HAVE_RES_NMKQUERY 1
41 
42  /*   */
43  #define HAVE_LIBBIND 1
44 
45  /*   */
46! // #define HAVE_RES_NMKQUERY 1
47 
48  /*   */
49  /* #undef HAVE_LIBSOCKET */
50***************
51*** 2602,2614 ****
52  /* #undef HAVE_LIBRESOLV */
53 
54  /*   */
55! #define HAVE_RES_NSEND 1
56 
57  /*   */
58  #define HAVE_LIBBIND 1
59 
60  /*   */
61! #define HAVE_RES_NSEND 1
62 
63  /*   */
64  /* #undef HAVE_LIBSOCKET */
65--- 2602,2614 ----
66  /* #undef HAVE_LIBRESOLV */
67 
68  /*   */
69! //#define HAVE_RES_NSEND 1
70 
71  /*   */
72  #define HAVE_LIBBIND 1
73 
74  /*   */
75! //#define HAVE_RES_NSEND 1
76 
77  /*   */
78  /* #undef HAVE_LIBSOCKET */