pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/chat/irssi Accept ENOTCONN as indicating socket is not...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/9711d7028395
branches:  trunk
changeset: 496945:9711d7028395
user:      dillo <dillo%pkgsrc.org@localhost>
date:      Sun Jul 17 14:32:46 2005 +0000

description:
Accept ENOTCONN as indicating socket is not ready for write (needed for upcoming irssi-icq).  Bump PKGREVISION.

diffstat:

 chat/irssi/Makefile         |   4 ++--
 chat/irssi/distinfo         |   3 ++-
 chat/irssi/patches/patch-ae |  13 +++++++++++++
 3 files changed, 17 insertions(+), 3 deletions(-)

diffs (44 lines):

diff -r 71b08790f52f -r 9711d7028395 chat/irssi/Makefile
--- a/chat/irssi/Makefile       Sun Jul 17 14:25:57 2005 +0000
+++ b/chat/irssi/Makefile       Sun Jul 17 14:32:46 2005 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.34 2005/06/26 20:25:48 snj Exp $
+# $NetBSD: Makefile,v 1.35 2005/07/17 14:32:46 dillo Exp $
 
 DISTNAME=              ${IRSSI_DISTNAME}
-PKGREVISION=           4
+PKGREVISION=           5
 CATEGORIES=            chat
 MASTER_SITES=          http://real.irssi.org/files/
 EXTRACT_SUFX=          ${IRSSI_EXTRACT_SUFX}
diff -r 71b08790f52f -r 9711d7028395 chat/irssi/distinfo
--- a/chat/irssi/distinfo       Sun Jul 17 14:25:57 2005 +0000
+++ b/chat/irssi/distinfo       Sun Jul 17 14:32:46 2005 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.19 2005/06/26 20:25:48 snj Exp $
+$NetBSD: distinfo,v 1.20 2005/07/17 14:32:46 dillo Exp $
 
 SHA1 (irssi-0.8.9.tar.bz2) = 57799a1e99ac5f6694eb6fd049d39a4e2e51f576
 RMD160 (irssi-0.8.9.tar.bz2) = 7a0a2a639c041802bfddd458c35bccaec8084013
@@ -7,3 +7,4 @@
 SHA1 (patch-ab) = c395fbeeb2dd15490f04f2cb2c94daf6c5955e85
 SHA1 (patch-ac) = 9572891333279dc368f44c52f9584c34f10d7aa1
 SHA1 (patch-ad) = 7629117264f84c4f20697200456f91662b52f724
+SHA1 (patch-ae) = 58afbd982978ad51bb96b3b48182ae3df56224fe
diff -r 71b08790f52f -r 9711d7028395 chat/irssi/patches/patch-ae
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/chat/irssi/patches/patch-ae       Sun Jul 17 14:32:46 2005 +0000
@@ -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;



Home | Main Index | Thread Index | Old Index