diff options
author | rillig <rillig@pkgsrc.org> | 2005-02-14 15:40:49 +0000 |
---|---|---|
committer | rillig <rillig@pkgsrc.org> | 2005-02-14 15:40:49 +0000 |
commit | 6159b32459f26990e79c04e3de9b7a7ddc5054ab (patch) | |
tree | b6fb8920c7d7070a0e22cd2b4fa515e51dc78379 /x11 | |
parent | e608264412ba74f2dbbb3a5a9c556c2bb9e69778 (diff) | |
download | pkgsrc-6159b32459f26990e79c04e3de9b7a7ddc5054ab.tar.gz |
Allow more virtual terminal devices to be found on NetBSD.
Approved by jlam.
Diffstat (limited to 'x11')
-rw-r--r-- | x11/aterm/distinfo | 4 | ||||
-rw-r--r-- | x11/aterm/patches/patch-ae | 24 |
2 files changed, 20 insertions, 8 deletions
diff --git a/x11/aterm/distinfo b/x11/aterm/distinfo index 21bef4e7cc0..e8c134382d1 100644 --- a/x11/aterm/distinfo +++ b/x11/aterm/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.7 2004/06/02 12:48:18 recht Exp $ +$NetBSD: distinfo,v 1.8 2005/02/14 15:40:49 rillig Exp $ SHA1 (aterm-0.4.2.tar.gz) = 8ce3f1fcdc12805068ff5acde6f130a22e1f5b9b Size (aterm-0.4.2.tar.gz) = 312730 bytes @@ -6,5 +6,5 @@ SHA1 (patch-aa) = 59cf8fe42bf4291b2a98c0d95170a02308197645 SHA1 (patch-ab) = 9b4e6785912de338db958e9ad48c4cafcb344270 SHA1 (patch-ac) = 28c79343079680251a013ec3fe364b01f5a5ccac SHA1 (patch-ad) = 0c87ee69672e98189afa2cfdcdd9691a1571f354 -SHA1 (patch-ae) = cc35107d24362f8bf31badb7aa9e4aec069171b2 +SHA1 (patch-ae) = 469251f0ab9bd8db70700d742c7a161c705669c8 SHA1 (patch-af) = e8e41fbc9837e87bc6bc495b4b698617bd1ea2ea diff --git a/x11/aterm/patches/patch-ae b/x11/aterm/patches/patch-ae index aa335684551..cde82b68946 100644 --- a/x11/aterm/patches/patch-ae +++ b/x11/aterm/patches/patch-ae @@ -1,8 +1,20 @@ -$NetBSD: patch-ae,v 1.3 2004/06/02 12:48:18 recht Exp $ +$NetBSD: patch-ae,v 1.4 2005/02/14 15:40:49 rillig Exp $ ---- src/command.c.orig 2004-05-20 12:10:08.000000000 +0200 -+++ src/command.c 2004-05-20 12:09:37.000000000 +0200 -@@ -1146,6 +1146,11 @@ +--- src/command.c.orig Thu Sep 6 18:38:07 2001 ++++ src/command.c Mon Feb 14 16:26:50 2005 +@@ -534,7 +534,11 @@ + ttydev = tty_name; + + # define PTYCHAR1 "pqrstuvwxyz" ++#ifdef __NetBSD__ ++# define PTYCHAR2 "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz" ++#else + # define PTYCHAR2 "0123456789abcdef" ++#endif + for (c1 = PTYCHAR1; *c1; c1++) { + ptydev[len - 2] = ttydev[len - 2] = *c1; + for (c2 = PTYCHAR2; *c2; c2++) { +@@ -1146,6 +1150,11 @@ init_command(char *argv[]) num_fds = getdtablesize(); #endif @@ -14,7 +26,7 @@ $NetBSD: patch-ae,v 1.3 2004/06/02 12:48:18 recht Exp $ #ifdef META8_OPTION meta_char = (Options & Opt_meta8 ? 0x80 : 033); if (rs_modifier -@@ -1763,16 +1768,21 @@ +@@ -1763,16 +1772,21 @@ } break; @@ -41,7 +53,7 @@ $NetBSD: patch-ae,v 1.3 2004/06/02 12:48:18 recht Exp $ break; case XK_F6: /* "\033[17~" */ -@@ -2024,7 +2034,7 @@ +@@ -2024,7 +2038,7 @@ #endif /* See if we can read from the application */ |