diff options
author | Mike Frysinger <vapier@gentoo.org> | 2004-07-30 03:56:42 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2004-07-30 03:56:42 +0000 |
commit | 2aa29f462ab54c5cba2b3b91426207f435de0513 (patch) | |
tree | 2eb64a85775022d4281fcd6d43c0f00563b965a7 /app-misc/screen | |
parent | ver bump for uclibc (Manifest recommit) (diff) | |
download | gentoo-2-2aa29f462ab54c5cba2b3b91426207f435de0513.tar.gz gentoo-2-2aa29f462ab54c5cba2b3b91426207f435de0513.tar.bz2 gentoo-2-2aa29f462ab54c5cba2b3b91426207f435de0513.zip |
small patch to let uclibc compile
Diffstat (limited to 'app-misc/screen')
-rw-r--r-- | app-misc/screen/files/4.0.2-no-pty.patch | 14 | ||||
-rw-r--r-- | app-misc/screen/screen-4.0.2.ebuild | 9 |
2 files changed, 20 insertions, 3 deletions
diff --git a/app-misc/screen/files/4.0.2-no-pty.patch b/app-misc/screen/files/4.0.2-no-pty.patch new file mode 100644 index 000000000000..7b7b7984fff9 --- /dev/null +++ b/app-misc/screen/files/4.0.2-no-pty.patch @@ -0,0 +1,14 @@ +--- screen-4.0.2/pty.c.orig 2004-07-29 23:53:45.313533536 -0400 ++++ screen-4.0.2/pty.c 2004-07-29 23:53:59.011451136 -0400 +@@ -33,11 +33,6 @@ + # include <sys/ioctl.h> + #endif + +-/* for solaris 2.1, Unixware (SVR4.2) and possibly others */ +-#ifdef HAVE_SVR4_PTYS +-# include <sys/stropts.h> +-#endif +- + #if defined(sun) && defined(LOCKPTY) && !defined(TIOCEXCL) + # include <sys/ttold.h> + #endif diff --git a/app-misc/screen/screen-4.0.2.ebuild b/app-misc/screen/screen-4.0.2.ebuild index b29603811d34..c868891e90ec 100644 --- a/app-misc/screen/screen-4.0.2.ebuild +++ b/app-misc/screen/screen-4.0.2.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-misc/screen/screen-4.0.2.ebuild,v 1.15 2004/07/16 15:00:07 gustavoz Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-misc/screen/screen-4.0.2.ebuild,v 1.16 2004/07/30 03:56:42 vapier Exp $ inherit eutils flag-o-matic @@ -11,8 +11,8 @@ SRC_URI="mirror://gnu/screen/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" -KEYWORDS="x86 arm s390 sparc ppc hppa ~amd64 mips alpha ia64 ~ppc64" -IUSE="pam nethack" +KEYWORDS="x86 ppc sparc mips alpha arm hppa ~amd64 ia64 ~ppc64 s390" +IUSE="pam nethack uclibc" RDEPEND=">=sys-libs/ncurses-5.2 pam? ( >=sys-libs/pam-0.75 )" @@ -31,6 +31,9 @@ src_unpack() { # (13 Jan 2004 agriffis) epatch ${FILESDIR}/screen-4.0.1-vsprintf.patch + # uclibc doesnt have sys/stropts.h + use uclibc && epatch ${FILESDIR}/${PV}-no-pty.patch + # Fix manpage. sed -i \ -e "s:/usr/local/etc/screenrc:/etc/screenrc:g; |