diff options
author | ben <ben> | 2006-01-01 17:02:21 +0000 |
---|---|---|
committer | ben <ben> | 2006-01-01 17:02:21 +0000 |
commit | 04c06de9ac7619666bb47551bf5ffcc1b0a547fa (patch) | |
tree | 13be3fd0ed7a0d1082eb7b9ecbe5e70d719b8383 /mail/msmtp/patches | |
parent | b0955cdb06df80e77855a8c3c63be064299313ad (diff) | |
download | pkgsrc-04c06de9ac7619666bb47551bf5ffcc1b0a547fa.tar.gz |
Interix uses WinSock, which does not provide SO_RCVTIMEO nor SO_SNDTIMEO.
Skip these options when building on Interix.
Diffstat (limited to 'mail/msmtp/patches')
-rw-r--r-- | mail/msmtp/patches/patch-aa | 13 |
1 files changed, 13 insertions, 0 deletions
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; |