]> git.pld-linux.org Git - packages/sendmail.git/commitdiff
- sendmail IPv6 vs. glibc-2.2 problem workaround
authorJakub Bogusz <qboosh@pld-linux.org>
Thu, 4 Jan 2001 23:14:51 +0000 (23:14 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    sendmail-ipv6-glibc-2.2.patch -> 1.1

sendmail-ipv6-glibc-2.2.patch [new file with mode: 0644]

diff --git a/sendmail-ipv6-glibc-2.2.patch b/sendmail-ipv6-glibc-2.2.patch
new file mode 100644 (file)
index 0000000..ac23059
--- /dev/null
@@ -0,0 +1,24 @@
+diff -Nur sendmail-8.11.2.orig/sendmail/conf.c sendmail-8.11.2/sendmail/conf.c
+--- sendmail-8.11.2.orig/sendmail/conf.c       Thu Jan  4 21:46:38 2001
++++ sendmail-8.11.2/sendmail/conf.c    Thu Jan  4 21:45:27 2001
+@@ -4329,7 +4329,7 @@
+ **    Support IPv6 as well as IPv4.
+ */
+-#if NETINET6 && NEEDSGETIPNODE && __RES < 19990909
++#if NETINET6 && NEEDSGETIPNODE && (__RES < 19990909 || (__GLIBC__ == 2 && __GLIBC_MINOR__ == 2))
+ # ifndef AI_DEFAULT
+ #  define AI_DEFAULT  0       /* dummy */
+diff -Nur sendmail-8.11.2.orig/sendmail/conf.h sendmail-8.11.2/sendmail/conf.h
+--- sendmail-8.11.2.orig/sendmail/conf.h       Sat Dec 16 00:18:40 2000
++++ sendmail-8.11.2/sendmail/conf.h    Thu Jan  4 21:42:42 2001
+@@ -1459,7 +1459,7 @@
+ #   else /* (GLIBC_VERSION >= 0x201) */
+ #    include <linux/in6.h>    /* IPv6 support */
+ #   endif /* (GLIBC_VERSION >= 0x201) */
+-#   if (GLIBC_VERSION == 0x201 && !defined(NEEDSGETIPNODE))
++#   if ((GLIBC_VERSION == 0x201 || GLIBC_VERSION == 0x202) && !defined(NEEDSGETIPNODE))
+      /* Have APIs in <netdb.h>, but no support in glibc */
+ #    define NEEDSGETIPNODE    1
+ #   endif /* (GLIBC_VERSION == 0x201 && ! NEEDSGETIPNODE) */
This page took 0.045904 seconds and 4 git commands to generate.