pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/mail/sendmail Fix libmilter build on older systems tha...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/04a9857719b6
branches:  trunk
changeset: 771436:04a9857719b6
user:      jnemeth <jnemeth%pkgsrc.org@localhost>
date:      Sun Dec 19 04:01:11 2021 +0000

description:
Fix libmilter build on older systems that don't have gethostbyname2.

Since this is a build fix for systems where it didn't build before,
no revbump is required.

diffstat:

 mail/sendmail/distinfo         |   3 +--
 mail/sendmail/patches/patch-ap |  23 -----------------------
 2 files changed, 1 insertions(+), 25 deletions(-)

diffs (44 lines):

diff -r d293cad60f47 -r 04a9857719b6 mail/sendmail/distinfo
--- a/mail/sendmail/distinfo    Sun Dec 19 02:44:20 2021 +0000
+++ b/mail/sendmail/distinfo    Sun Dec 19 04:01:11 2021 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.66 2021/10/26 10:54:29 nia Exp $
+$NetBSD: distinfo,v 1.67 2021/12/19 04:01:11 jnemeth Exp $
 
 BLAKE2s (sendmail.8.16.1.tar.gz) = 6f92d35a8dfe1ba071da197ae53559a1d67290f7042e5650ebbdac3d3045fe2f
 SHA512 (sendmail.8.16.1.tar.gz) = d7d4aac3c6d7505782abdb166204901b8b51cac000d610dfe40eda9eef7441a073af9e8e0b14c8719b07b445f55a1e2c28ac63d663d0daa7f1eafc5a101788b2
@@ -11,7 +11,6 @@
 SHA1 (patch-aj) = e65e6fe44380de2f9c397c1a97677eb4ad285433
 SHA1 (patch-an) = 1481dd98d6aae000e71ba1c42f3d84197a4e4dc0
 SHA1 (patch-ao) = 88dd76b71ad57a8d0efdb6e8518ff01689ecf634
-SHA1 (patch-ap) = 60745f30d1e8c13beeb8a3acb07c51fd2f8fac22
 SHA1 (patch-aq) = 5c083d9f9f71bcc42811a3d085e936eaaa404c96
 SHA1 (patch-ar) = 4e9162c96329716f844c0c64efb9d0a2915ad1cb
 SHA1 (patch-as) = a36d4bf90f6803734bb686d5809a18ac6d8314ce
diff -r d293cad60f47 -r 04a9857719b6 mail/sendmail/patches/patch-ap
--- a/mail/sendmail/patches/patch-ap    Sun Dec 19 02:44:20 2021 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,23 +0,0 @@
-$NetBSD: patch-ap,v 1.2 2021/07/04 07:57:13 jnemeth Exp $
-
---- libmilter/sm_gethost.c.orig        2020-05-19 19:54:32.000000000 +0000
-+++ libmilter/sm_gethost.c
-@@ -64,15 +64,15 @@ sm_getipnodebyname(name, family, flags, 
-       if (family == AF_INET6)
-       {
-               /* From RFC2133, section 6.1 */
--              resv6 = bitset(RES_USE_INET6, _res.options);
--              _res.options |= RES_USE_INET6;
-+              resv6 = bitset(RES_USE_INET6, sm_res.options);
-+              sm_res.options |= RES_USE_INET6;
-       }
- #  endif /* RES_USE_INET6 */
-       SM_SET_H_ERRNO(0);
-       h = gethostbyname(name);
- #  ifdef RES_USE_INET6
-       if (!resv6)
--              _res.options &= ~RES_USE_INET6;
-+              sm_res.options &= ~RES_USE_INET6;
- #  endif
- 
-       /* the function is supposed to return only the requested family */



Home | Main Index | Thread Index | Old Index