pass ARCH down to uClibc
[buildroot.git] / package / dnsmasq / dnsmasq1-100-bugfix.patch
blobc676a1a398db9a6a30b992ce6b3f832b4634c338
1 --- dnsmasq-1.18/config.h.dist 2004-03-01 22:25:12.000000000 -0600
2 +++ dnsmasq-1.18/config.h 2004-03-01 22:26:50.000000000 -0600
3 @@ -126,7 +126,9 @@
5 /* Must preceed __linux__ since uClinux defines __linux__ too. */
6 #if defined(__uClinux__) || defined(__UCLIBC__)
7 +#ifndef __UCLIBC_HAS_IPV6__
8 #undef HAVE_LINUX_IPV6_PROC
9 +#endif
10 #define HAVE_GETOPT_LONG
11 #undef HAVE_ARC4RANDOM
12 #define HAVE_RANDOM
13 diff -x CVS -urN dnsmasq-1.18/option.c dnsmasq.old/option.c
14 --- dnsmasq-1.18/option.c 2003-11-05 08:22:18.000000000 -0600
15 +++ dnsmasq.old/option.c 2004-01-05 23:40:11.000000000 -0600
16 @@ -578,8 +578,8 @@
17 #ifdef HAVE_IPV6
18 else if (tmp->source_addr.sa.sa_family == AF_INET6)
19 tmp->source_addr.in6.sin6_port = htons(*query_port);
20 - }
21 #endif
22 + }
25 if (*if_addrs)