diff options
author | msaitoh <msaitoh> | 2012-08-07 19:21:22 +0000 |
---|---|---|
committer | msaitoh <msaitoh> | 2012-08-07 19:21:22 +0000 |
commit | 15e3188afe181f2609845babf020600453f08599 (patch) | |
tree | b32da896d561618a4b20338888e80c7f48f27c75 /sysutils | |
parent | 3a22cef977ce05bd7f60f2369d7e3c1f130e0f05 (diff) | |
download | pkgsrc-15e3188afe181f2609845babf020600453f08599.tar.gz |
Update sysutils/amtterm to 1.3
make a patch to skip EAGAIN of read(2).
Diffstat (limited to 'sysutils')
-rw-r--r-- | sysutils/amtterm/Makefile | 6 | ||||
-rw-r--r-- | sysutils/amtterm/distinfo | 9 | ||||
-rw-r--r-- | sysutils/amtterm/patches/patch-redir.c | 16 |
3 files changed, 24 insertions, 7 deletions
diff --git a/sysutils/amtterm/Makefile b/sysutils/amtterm/Makefile index 6ac64ee6dae..f2b4a212cb6 100644 --- a/sysutils/amtterm/Makefile +++ b/sysutils/amtterm/Makefile @@ -1,8 +1,8 @@ -# $NetBSD: Makefile,v 1.4 2012/03/03 12:54:21 wiz Exp $ +# $NetBSD: Makefile,v 1.5 2012/08/07 19:21:22 msaitoh Exp $ # -DISTNAME= amtterm-1.2 -PKGREVISION= 3 +DISTNAME= amtterm-1.3 +PKGREVISION= 1 CATEGORIES= sysutils MASTER_SITES= http://www.kraxel.org/releases/amtterm/ diff --git a/sysutils/amtterm/distinfo b/sysutils/amtterm/distinfo index 5e42b08a270..be44ef0680f 100644 --- a/sysutils/amtterm/distinfo +++ b/sysutils/amtterm/distinfo @@ -1,7 +1,8 @@ -$NetBSD: distinfo,v 1.1.1.1 2011/05/13 13:24:01 obache Exp $ +$NetBSD: distinfo,v 1.2 2012/08/07 19:21:22 msaitoh Exp $ -SHA1 (amtterm-1.2.tar.gz) = 7459a2817cdd5886d6e2f208af28de5af3937b9d -RMD160 (amtterm-1.2.tar.gz) = 1a37c6f857d5e12dbda4a005838c31c19738db7a -Size (amtterm-1.2.tar.gz) = 37225 bytes +SHA1 (amtterm-1.3.tar.gz) = cfd199cc870f48a59caa89408b039239eab85322 +RMD160 (amtterm-1.3.tar.gz) = 382f9869b849f7cf6180b68f2a2481225ca575af +Size (amtterm-1.2.tar.gz) = 37671 bytes SHA1 (patch-GNUmakefile) = f0ff91d80b01ea9d4b42ea752b786ce16a698c7d SHA1 (patch-mk_Variables.mk) = cb2d2fae3c0e650386308bd9290fa62c64a137f7 +SHA1 (patch-redir.c) = 862935d9e74a9df791eb5b22baf0cc1ac4b7ffb6 diff --git a/sysutils/amtterm/patches/patch-redir.c b/sysutils/amtterm/patches/patch-redir.c new file mode 100644 index 00000000000..dac368a0ffb --- /dev/null +++ b/sysutils/amtterm/patches/patch-redir.c @@ -0,0 +1,16 @@ +--- redir.c.orig 2011-05-26 18:19:45.000000000 +0900 ++++ redir.c 2012-08-07 13:08:49.000000000 +0900 +@@ -281,8 +281,11 @@ + + switch (count) { + case -1: +- snprintf(r->err, sizeof(r->err), "read(socket): %s", strerror(errno)); +- return -1; ++ if (errno != EAGAIN) { ++ snprintf(r->err, sizeof(r->err), "read(socket): %s", strerror(errno)); ++ return -1; ++ } ++ break; + case 0: + snprintf(r->err, sizeof(r->err), "EOF from socket"); + return -1; |