]> git.ipfire.org Git - people/pmueller/ipfire-3.x.git/blob - bind/patches/bind98-rh735103.patch
bind: Rework package.
[people/pmueller/ipfire-3.x.git] / bind / patches / bind98-rh735103.patch
1 diff -up bind-9.8.1rc1/lib/isc/unix/socket.c.rh735103 bind-9.8.1rc1/lib/isc/unix/socket.c
2 --- bind-9.8.1rc1/lib/isc/unix/socket.c.rh735103 2011-07-29 04:19:20.000000000 +0200
3 +++ bind-9.8.1rc1/lib/isc/unix/socket.c 2011-09-07 18:49:54.100215897 +0200
4 @@ -57,6 +57,20 @@
5 #include <isc/util.h>
6 #include <isc/xml.h>
7
8 +/* See task.c about the following definition: */
9 +#ifdef BIND9
10 +#ifdef ISC_PLATFORM_USETHREADS
11 +#define USE_WATCHER_THREAD
12 +#else
13 +#define USE_SHARED_MANAGER
14 +#endif /* ISC_PLATFORM_USETHREADS */
15 +#else /* BIND9 */
16 +#undef ISC_PLATFORM_HAVESYSUNH
17 +#undef ISC_PLATFORM_HAVEKQUEUE
18 +#undef ISC_PLATFORM_HAVEEPOLL
19 +#undef ISC_PLATFORM_HAVEDEVPOLL
20 +#endif /* BIND9 */
21 +
22 #ifdef ISC_PLATFORM_HAVESYSUNH
23 #include <sys/un.h>
24 #endif
25 @@ -76,15 +90,6 @@
26
27 #include "errno2result.h"
28
29 -/* See task.c about the following definition: */
30 -#ifdef BIND9
31 -#ifdef ISC_PLATFORM_USETHREADS
32 -#define USE_WATCHER_THREAD
33 -#else
34 -#define USE_SHARED_MANAGER
35 -#endif /* ISC_PLATFORM_USETHREADS */
36 -#endif /* BIND9 */
37 -
38 #ifndef USE_WATCHER_THREAD
39 #include "socket_p.h"
40 #include "../task_p.h"