diff options
author | asau <asau@pkgsrc.org> | 2012-09-29 17:59:34 +0000 |
---|---|---|
committer | asau <asau@pkgsrc.org> | 2012-09-29 17:59:34 +0000 |
commit | 9498c814ec73d8dc6e289465f6bbc647b9961ef0 (patch) | |
tree | 56933113cc3cac5c5b65dcc006edeb1f7223037b /x11/aterm | |
parent | dfc7cea5113687d5121435d29c36c4ba5425d336 (diff) | |
download | pkgsrc-9498c814ec73d8dc6e289465f6bbc647b9961ef0.tar.gz |
Use pseudo-terminal multiplexor on NetBSD (available since 3.0).
This makes the package functional on NetBSD after removal of
traditional pseudo-terminals.
Bump package revision.
Diffstat (limited to 'x11/aterm')
-rw-r--r-- | x11/aterm/Makefile | 4 | ||||
-rw-r--r-- | x11/aterm/patches/patch-ae | 16 |
2 files changed, 15 insertions, 5 deletions
diff --git a/x11/aterm/Makefile b/x11/aterm/Makefile index faaaed066bd..ba6857a1d20 100644 --- a/x11/aterm/Makefile +++ b/x11/aterm/Makefile @@ -1,8 +1,8 @@ -# $NetBSD: Makefile,v 1.42 2011/01/13 13:39:41 wiz Exp $ +# $NetBSD: Makefile,v 1.43 2012/09/29 17:59:34 asau Exp $ # DISTNAME= aterm-1.0.0 -PKGREVISION= 9 +PKGREVISION= 10 CATEGORIES= x11 MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=aterm/} EXTRACT_SUFX= .tar.bz2 diff --git a/x11/aterm/patches/patch-ae b/x11/aterm/patches/patch-ae index 0542cd39f9c..b10656f6a9c 100644 --- a/x11/aterm/patches/patch-ae +++ b/x11/aterm/patches/patch-ae @@ -1,11 +1,21 @@ -$NetBSD: patch-ae,v 1.6 2007/01/19 08:02:33 rillig Exp $ +$NetBSD: patch-ae,v 1.7 2012/09/29 17:59:34 asau Exp $ Tags: from-upstream +Use pseudo-terminal multiplexor on NetBSD. Correctly set the terminal size on FreeBSD and NetBSD. ---- src/command.c.orig 2005-06-21 22:08:16.000000000 +0200 -+++ src/command.c 2007-01-19 08:56:52.000000000 +0100 +--- src/command.c.orig 2005-06-21 20:08:16.000000000 +0000 ++++ src/command.c +@@ -542,7 +542,7 @@ get_pty(void) + ptydev = ttydev = _getpty(&fd, O_RDWR | O_NDELAY, 0622, 0); + if (ptydev == NULL) + goto Failed; +-#elif defined (__svr4__) || defined(__CYGWIN32__) || defined(__lnx21__) ++#elif defined (__svr4__) || defined(__CYGWIN32__) || defined(__lnx21__) || defined(__NetBSD__) + { + extern char *ptsname(); + @@ -1085,6 +1085,8 @@ run_command(char *argv[]) #endif /* SRIOCSREDIR */ } |