From 04c06de9ac7619666bb47551bf5ffcc1b0a547fa Mon Sep 17 00:00:00 2001 From: ben Date: Sun, 1 Jan 2006 17:02:21 +0000 Subject: Interix uses WinSock, which does not provide SO_RCVTIMEO nor SO_SNDTIMEO. Skip these options when building on Interix. --- mail/msmtp/patches/patch-aa | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 mail/msmtp/patches/patch-aa (limited to 'mail/msmtp/patches') diff --git a/mail/msmtp/patches/patch-aa b/mail/msmtp/patches/patch-aa new file mode 100644 index 00000000000..8e9285b956a --- /dev/null +++ b/mail/msmtp/patches/patch-aa @@ -0,0 +1,13 @@ +$NetBSD: patch-aa,v 1.3 2006/01/01 17:02:21 ben Exp $ + +--- src/net.c.orig Sun Aug 14 13:13:06 2005 ++++ src/net.c +@@ -325,7 +325,7 @@ void net_set_io_timeout(int socket, int + * en-us/winsock/winsock/setsockopt_2.asp + * We activate these timeouts only for Windows systems that also have + * getaddrinfo(), which means XP or newer, to work around this problem. */ +-#if defined __MINGW32__ && !defined HAVE_GETADDRINFO ++#if (defined __MINGW32__ && !defined HAVE_GETADDRINFO) || defined __WINSOCK + /* do nothing */ + #else + struct timeval tv; -- cgit v1.2.3