From d80cfd57fea15648bd1f910b9f91d222789a774e Mon Sep 17 00:00:00 2001 From: dakkar Date: Mon, 14 Mar 2011 19:18:33 +0000 Subject: bigdns patch for netqmail --- mail-mta/netqmail/files/bigdns.patch | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 mail-mta/netqmail/files/bigdns.patch (limited to 'mail-mta/netqmail/files') diff --git a/mail-mta/netqmail/files/bigdns.patch b/mail-mta/netqmail/files/bigdns.patch new file mode 100644 index 0000000..52b4b60 --- /dev/null +++ b/mail-mta/netqmail/files/bigdns.patch @@ -0,0 +1,13 @@ +diff --git a/dns.c b/dns.c +index 055ab76..7a67bb0 100644 +--- a/dns.c ++++ b/dns.c +@@ -19,7 +19,7 @@ extern int res_search(); + static unsigned short getshort(c) unsigned char *c; + { unsigned short u; u = c[0]; return (u << 8) + c[1]; } + +-static union { HEADER hdr; unsigned char buf[PACKETSZ]; } response; ++static union { HEADER hdr; unsigned char buf[65536]; } response; + static int responselen; + static unsigned char *responseend; + static unsigned char *responsepos; -- cgit v1.2.3