1 diff -Nur sendmail-8.11.2.orig/sendmail/conf.c sendmail-8.11.2/sendmail/conf.c
2 --- sendmail-8.11.2.orig/sendmail/conf.c Thu Jan 4 21:46:38 2001
3 +++ sendmail-8.11.2/sendmail/conf.c Thu Jan 4 21:45:27 2001
5 ** Support IPv6 as well as IPv4.
8 -#if NETINET6 && NEEDSGETIPNODE && __RES < 19990909
9 +#if NETINET6 && NEEDSGETIPNODE && (__RES < 19990909 || (__GLIBC__ == 2 && __GLIBC_MINOR__ == 2))
12 # define AI_DEFAULT 0 /* dummy */
13 diff -Nur sendmail-8.11.2.orig/sendmail/conf.h sendmail-8.11.2/sendmail/conf.h
14 --- sendmail-8.11.2.orig/sendmail/conf.h Sat Dec 16 00:18:40 2000
15 +++ sendmail-8.11.2/sendmail/conf.h Thu Jan 4 21:42:42 2001
17 # else /* (GLIBC_VERSION >= 0x201) */
18 # include <linux/in6.h> /* IPv6 support */
19 # endif /* (GLIBC_VERSION >= 0x201) */
20 -# if (GLIBC_VERSION == 0x201 && !defined(NEEDSGETIPNODE))
21 +# if ((GLIBC_VERSION == 0x201 || GLIBC_VERSION == 0x202) && !defined(NEEDSGETIPNODE))
22 /* Have APIs in <netdb.h>, but no support in glibc */
23 # define NEEDSGETIPNODE 1
24 # endif /* (GLIBC_VERSION == 0x201 && ! NEEDSGETIPNODE) */