pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/mail/courier-mta Add compatibility define for SOL_TCP.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/b765e71de228
branches:  trunk
changeset: 362446:b765e71de228
user:      jperkin <jperkin%pkgsrc.org@localhost>
date:      Mon May 15 13:06:48 2017 +0000

description:
Add compatibility define for SOL_TCP.

diffstat:

 mail/courier-mta/distinfo                                         |   3 +-
 mail/courier-mta/patches/patch-courier_module.esmtp_esmtpclient.c |  16 ++++++++++
 2 files changed, 18 insertions(+), 1 deletions(-)

diffs (35 lines):

diff -r 42b5b4f23a79 -r b765e71de228 mail/courier-mta/distinfo
--- a/mail/courier-mta/distinfo Mon May 15 13:04:03 2017 +0000
+++ b/mail/courier-mta/distinfo Mon May 15 13:06:48 2017 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.20 2015/11/03 23:27:02 agc Exp $
+$NetBSD: distinfo,v 1.21 2017/05/15 13:06:48 jperkin Exp $
 
 SHA1 (courier-0.68.1.tar.bz2) = fbd7cd0bc88876dc12d02b9404cea95877805ebe
 RMD160 (courier-0.68.1.tar.bz2) = 3f062aae0d34a71055a5ff5ad172ca191ab3f0e4
@@ -21,4 +21,5 @@
 SHA1 (patch-courier_cdfilters.C) = 1f9169de45355cd9a4ecb7e8ddac30df05d368d0
 SHA1 (patch-courier_cdmsgq.C) = 467479ded922cfff97c4e5876a5234eef3f82b50
 SHA1 (patch-courier_cmlmfetch.C) = 7426b5642271a8bcd4ed442eb6571d191a454d1f
+SHA1 (patch-courier_module.esmtp_esmtpclient.c) = 54f66d60e1d5e444725630ae31c47554ab421609
 SHA1 (patch-courier_webmlmd.H) = 3a66894c376bf84ae5a43f4c6f3dfbb687f9436e
diff -r 42b5b4f23a79 -r b765e71de228 mail/courier-mta/patches/patch-courier_module.esmtp_esmtpclient.c
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/mail/courier-mta/patches/patch-courier_module.esmtp_esmtpclient.c Mon May 15 13:06:48 2017 +0000
@@ -0,0 +1,16 @@
+$NetBSD: patch-courier_module.esmtp_esmtpclient.c,v 1.1 2017/05/15 13:06:48 jperkin Exp $
+
+Compat define for SOL_TCP.
+
+--- courier/module.esmtp/esmtpclient.c.orig    2012-04-23 17:11:48.000000000 +0000
++++ courier/module.esmtp/esmtpclient.c
+@@ -79,6 +79,9 @@ static time_t quit_timeout;
+ static time_t data_timeout;
+ 
+ #ifdef        TCP_CORK
++#ifndef SOL_TCP
++#define SOL_TCP       IPPROTO_TCP
++#endif
+ 
+ static int esmtp_cork;
+ static int corked;



Home | Main Index | Thread Index | Old Index