diff options
author | Sven Wegener <swegener@gentoo.org> | 2007-01-17 16:45:48 +0000 |
---|---|---|
committer | Sven Wegener <swegener@gentoo.org> | 2007-01-17 16:45:48 +0000 |
commit | f8bf3718146b3bd409d20cee25101f6e8825c4a5 (patch) | |
tree | 0fc8a1ec384dfe055ae2f46f381082bc8963b893 /app-misc | |
parent | games-action/d2x-xl is gone (diff) | |
download | gentoo-2-f8bf3718146b3bd409d20cee25101f6e8825c4a5.tar.gz gentoo-2-f8bf3718146b3bd409d20cee25101f6e8825c4a5.tar.bz2 gentoo-2-f8bf3718146b3bd409d20cee25101f6e8825c4a5.zip |
Adjust the tty addpredict code for bug #162536.
(Portage version: 2.1.2)
Diffstat (limited to 'app-misc')
-rw-r--r-- | app-misc/screen/ChangeLog | 7 | ||||
-rw-r--r-- | app-misc/screen/screen-4.0.3.ebuild | 8 |
2 files changed, 9 insertions, 6 deletions
diff --git a/app-misc/screen/ChangeLog b/app-misc/screen/ChangeLog index f0fe486d1026..595812c82545 100644 --- a/app-misc/screen/ChangeLog +++ b/app-misc/screen/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for app-misc/screen -# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-misc/screen/ChangeLog,v 1.127 2006/10/29 19:22:13 kloeri Exp $ +# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/app-misc/screen/ChangeLog,v 1.128 2007/01/17 16:45:48 swegener Exp $ + + 17 Jan 2007; Sven Wegener <swegener@gentoo.org> screen-4.0.3.ebuild: + Adjust the tty addpredict code for bug #162536. 29 Oct 2006; Bryan Østergaard <kloeri@gentoo.org> screen-4.0.3.ebuild: Stable on Alpha, bug 152770. diff --git a/app-misc/screen/screen-4.0.3.ebuild b/app-misc/screen/screen-4.0.3.ebuild index 22d1479fd072..1134336630cf 100644 --- a/app-misc/screen/screen-4.0.3.ebuild +++ b/app-misc/screen/screen-4.0.3.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2006 Gentoo Foundation +# Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-misc/screen/screen-4.0.3.ebuild,v 1.10 2006/11/04 11:00:59 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-misc/screen/screen-4.0.3.ebuild,v 1.11 2007/01/17 16:45:48 swegener Exp $ inherit eutils flag-o-matic toolchain-funcs pam autotools @@ -74,8 +74,8 @@ src_unpack() { } src_compile() { - addpredict "$(tty)" - addpredict "${SSH_TTY}" + local TTY="$(tty)" + [[ -c ${TTY} ]] && addpredict "${TTY}" append-flags "-DMAXWIN=${MAX_SCREEN_WINDOWS:-100}" append-ldflags $(bindnow-flags) |