summaryrefslogtreecommitdiff
path: root/sysutils
diff options
context:
space:
mode:
authormsaitoh <msaitoh@pkgsrc.org>2012-08-07 19:21:22 +0000
committermsaitoh <msaitoh@pkgsrc.org>2012-08-07 19:21:22 +0000
commitdc5a6629ab8c967a875fd2fdebb9d2be4b9ef1c7 (patch)
treeb32da896d561618a4b20338888e80c7f48f27c75 /sysutils
parentdd9bd2979785bad681df3e24c32f24dd7be0e98b (diff)
downloadpkgsrc-dc5a6629ab8c967a875fd2fdebb9d2be4b9ef1c7.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/Makefile6
-rw-r--r--sysutils/amtterm/distinfo9
-rw-r--r--sysutils/amtterm/patches/patch-redir.c16
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;