diff options
author | hubertf <hubertf@pkgsrc.org> | 2002-08-03 13:00:28 +0000 |
---|---|---|
committer | hubertf <hubertf@pkgsrc.org> | 2002-08-03 13:00:28 +0000 |
commit | 7f099f97db9c11544cfd4e2488e0cec3ff9caed7 (patch) | |
tree | 5db6f6daf561eab058f428b3143a6d7a0a48e513 /x11 | |
parent | 9dd9b0ae517a133b34aa54c0c91f8355eb9acf76 (diff) | |
download | pkgsrc-7f099f97db9c11544cfd4e2488e0cec3ff9caed7.tar.gz |
Update aterm to aterm-0.4.2nb2: work around problem with
lockup in select()
Patch submitted by Christian Biere <ChristianBiere@gmx.de> in PR 17745
Diffstat (limited to 'x11')
-rw-r--r-- | x11/aterm/Makefile | 4 | ||||
-rw-r--r-- | x11/aterm/distinfo | 3 | ||||
-rw-r--r-- | x11/aterm/patches/patch-ae | 25 |
3 files changed, 29 insertions, 3 deletions
diff --git a/x11/aterm/Makefile b/x11/aterm/Makefile index 7b7afe0e05c..edf76658970 100644 --- a/x11/aterm/Makefile +++ b/x11/aterm/Makefile @@ -1,8 +1,8 @@ -# $NetBSD: Makefile,v 1.7 2002/03/13 17:37:53 fredb Exp $ +# $NetBSD: Makefile,v 1.8 2002/08/03 13:00:28 hubertf Exp $ # DISTNAME= aterm-0.4.2 -PKGREVISION= 1 +PKGREVISION= 2 CATEGORIES= x11 MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=aterm/} diff --git a/x11/aterm/distinfo b/x11/aterm/distinfo index 57540dcebb0..b791bc81a6c 100644 --- a/x11/aterm/distinfo +++ b/x11/aterm/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.4 2002/05/12 21:21:31 wiz Exp $ +$NetBSD: distinfo,v 1.5 2002/08/03 13:00:29 hubertf Exp $ SHA1 (aterm-0.4.2.tar.gz) = 8ce3f1fcdc12805068ff5acde6f130a22e1f5b9b Size (aterm-0.4.2.tar.gz) = 312730 bytes @@ -6,3 +6,4 @@ SHA1 (patch-aa) = 59cf8fe42bf4291b2a98c0d95170a02308197645 SHA1 (patch-ab) = 9b4e6785912de338db958e9ad48c4cafcb344270 SHA1 (patch-ac) = 28c79343079680251a013ec3fe364b01f5a5ccac SHA1 (patch-ad) = 0c87ee69672e98189afa2cfdcdd9691a1571f354 +SHA1 (patch-ae) = b4bbe033f29a8ee24cfff511fb59739d3582341d diff --git a/x11/aterm/patches/patch-ae b/x11/aterm/patches/patch-ae new file mode 100644 index 00000000000..7ba1b0bf572 --- /dev/null +++ b/x11/aterm/patches/patch-ae @@ -0,0 +1,25 @@ +$NetBSD: patch-ae,v 1.1 2002/08/03 13:00:30 hubertf Exp $ + +--- src/command.c.orig Thu Sep 6 18:38:07 2001 ++++ src/command.c +@@ -1146,6 +1146,11 @@ + num_fds = getdtablesize(); + #endif + ++#if defined(__NetBSD__) ++ if (num_fds > FD_SETSIZE) ++ num_fds = FD_SETSIZE; ++#endif ++ + #ifdef META8_OPTION + meta_char = (Options & Opt_meta8 ? 0x80 : 033); + if (rs_modifier +@@ -2024,7 +2029,7 @@ + #endif + + /* See if we can read from the application */ +- if (FD_ISSET(cmd_fd, &readfds)) { ++ if (retval > 0 && FD_ISSET(cmd_fd, &readfds)) { + unsigned int count = BUFSIZ; + + cmdbuf_ptr = cmdbuf_endp = cmdbuf_base; |