diff options
author | Mike Baker <mbm@openwrt.org> | 2005-01-16 11:43:02 +0000 |
---|---|---|
committer | Mike Baker <mbm@openwrt.org> | 2005-01-16 11:43:02 +0000 |
commit | 76d90c2ed2956d27e0c8af8fb0b76b3069228d5f (patch) | |
tree | 986493f1905c17f3a385831d60709492c4c5ed7a /openwrt/package/dnsmasq/dnsmasq1-100-bugfix.patch | |
parent | a5e92562f883bbd64e84b69bb683f42911ec7036 (diff) | |
download | mtk-20170518-76d90c2ed2956d27e0c8af8fb0b76b3069228d5f.zip mtk-20170518-76d90c2ed2956d27e0c8af8fb0b76b3069228d5f.tar.gz mtk-20170518-76d90c2ed2956d27e0c8af8fb0b76b3069228d5f.tar.bz2 |
Initial revision
SVN-Revision: 197
Diffstat (limited to 'openwrt/package/dnsmasq/dnsmasq1-100-bugfix.patch')
-rw-r--r-- | openwrt/package/dnsmasq/dnsmasq1-100-bugfix.patch | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/openwrt/package/dnsmasq/dnsmasq1-100-bugfix.patch b/openwrt/package/dnsmasq/dnsmasq1-100-bugfix.patch new file mode 100644 index 0000000..c676a1a --- /dev/null +++ b/openwrt/package/dnsmasq/dnsmasq1-100-bugfix.patch @@ -0,0 +1,25 @@ +--- dnsmasq-1.18/config.h.dist 2004-03-01 22:25:12.000000000 -0600 ++++ dnsmasq-1.18/config.h 2004-03-01 22:26:50.000000000 -0600 +@@ -126,7 +126,9 @@ + + /* Must preceed __linux__ since uClinux defines __linux__ too. */ + #if defined(__uClinux__) || defined(__UCLIBC__) ++#ifndef __UCLIBC_HAS_IPV6__ + #undef HAVE_LINUX_IPV6_PROC ++#endif + #define HAVE_GETOPT_LONG + #undef HAVE_ARC4RANDOM + #define HAVE_RANDOM +diff -x CVS -urN dnsmasq-1.18/option.c dnsmasq.old/option.c +--- dnsmasq-1.18/option.c 2003-11-05 08:22:18.000000000 -0600 ++++ dnsmasq.old/option.c 2004-01-05 23:40:11.000000000 -0600 +@@ -578,8 +578,8 @@ + #ifdef HAVE_IPV6 + else if (tmp->source_addr.sa.sa_family == AF_INET6) + tmp->source_addr.in6.sin6_port = htons(*query_port); +- } + #endif ++ } + } + + if (*if_addrs) |