summaryrefslogtreecommitdiff
path: root/chat/irssi/patches
diff options
context:
space:
mode:
authordillo <dillo>2005-07-17 14:32:46 +0000
committerdillo <dillo>2005-07-17 14:32:46 +0000
commitda76092c3546866ac81838f9956d87880ab080bb (patch)
treebff346f9ccc2033686ab023c096f9f5a8e9e06d8 /chat/irssi/patches
parent889df9dd0195aa071dae6e7b15e7fbd5943180b4 (diff)
downloadpkgsrc-da76092c3546866ac81838f9956d87880ab080bb.tar.gz
Accept ENOTCONN as indicating socket is not ready for write (needed for upcoming irssi-icq). Bump PKGREVISION.
Diffstat (limited to 'chat/irssi/patches')
-rw-r--r--chat/irssi/patches/patch-ae13
1 files changed, 13 insertions, 0 deletions
diff --git a/chat/irssi/patches/patch-ae b/chat/irssi/patches/patch-ae
new file mode 100644
index 00000000000..62fe1d8b23c
--- /dev/null
+++ b/chat/irssi/patches/patch-ae
@@ -0,0 +1,13 @@
+$NetBSD: patch-ae,v 1.4 2005/07/17 14:32:46 dillo Exp $
+
+--- src/core/network.c.orig 2003-10-11 04:00:02.000000000 +0200
++++ src/core/network.c
+@@ -389,7 +389,7 @@ int net_transmit(GIOChannel *handle, con
+
+ err = g_io_channel_write(handle, (char *) data, len, &ret);
+ if (err == G_IO_ERROR_AGAIN ||
+- (err != 0 && (errno == EINTR || errno == EPIPE)))
++ (err != 0 && (errno == EINTR || errno == EPIPE || errno == ENOTCONN)))
+ return 0;
+
+ return err == 0 ? (int)ret : -1;