From 29dc05f8b026eb08ddc4fdf8340567ed6467f581 Mon Sep 17 00:00:00 2001 From: Michael Sterrett Date: Thu, 2 Dec 2004 09:27:56 +0000 Subject: Add patch to samples/contrib/DynaComplete.py (bug #72981) --- games-mud/mcl/ChangeLog | 6 +++++- games-mud/mcl/files/0.53.00-dynacomplete.patch | 11 +++++++++++ games-mud/mcl/mcl-0.53.00.ebuild | 8 ++++---- 3 files changed, 20 insertions(+), 5 deletions(-) create mode 100644 games-mud/mcl/files/0.53.00-dynacomplete.patch (limited to 'games-mud') diff --git a/games-mud/mcl/ChangeLog b/games-mud/mcl/ChangeLog index b7d7734b7097..73513f146f68 100644 --- a/games-mud/mcl/ChangeLog +++ b/games-mud/mcl/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for games-mud/mcl # Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-mud/mcl/ChangeLog,v 1.10 2004/11/05 05:24:04 josejx Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-mud/mcl/ChangeLog,v 1.11 2004/12/02 09:27:56 mr_bones_ Exp $ + + 02 Dec 2004; Michael Sterrett + +files/0.53.00-dynacomplete.patch, mcl-0.53.00.ebuild: + Add patch to samples/contrib/DynaComplete.py (bug #72981) 05 Nov 2004; Joseph Jezak mcl-0.53.00.ebuild: Added ~ppc. diff --git a/games-mud/mcl/files/0.53.00-dynacomplete.patch b/games-mud/mcl/files/0.53.00-dynacomplete.patch new file mode 100644 index 000000000000..3142cf9735c4 --- /dev/null +++ b/games-mud/mcl/files/0.53.00-dynacomplete.patch @@ -0,0 +1,11 @@ +--- mcl-0.53.00/samples/contrib/DynaComplete.py 1999-09-20 20:10:33.000000000 +0200 ++++ mcl-0.53.00/samples/contrib/DynaComplete.py 1999-09-20 20:10:33.000000000 +0200 +@@ -23,7 +23,7 @@ + self.dict = { } + self.userwords = { } + self.lookup = None +- self.wording = re.compile( '\s*(?P[\w-#]+)' ) ++ self.wording = re.compile( '\s*(?P[\w\-#]+)' ) + self.add_word( 'complete' ) + + def add_word( self, inword ): diff --git a/games-mud/mcl/mcl-0.53.00.ebuild b/games-mud/mcl/mcl-0.53.00.ebuild index 5863d1dced02..d11e9e84c6e7 100644 --- a/games-mud/mcl/mcl-0.53.00.ebuild +++ b/games-mud/mcl/mcl-0.53.00.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/games-mud/mcl/mcl-0.53.00.ebuild,v 1.10 2004/11/05 05:24:04 josejx Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-mud/mcl/mcl-0.53.00.ebuild,v 1.11 2004/12/02 09:27:56 mr_bones_ Exp $ inherit eutils gnuconfig games @@ -13,10 +13,9 @@ SLOT="0" KEYWORDS="x86 amd64 ~ppc" IUSE="python perl" -RDEPEND="perl? ( dev-lang/perl ) +DEPEND="virtual/libc + perl? ( dev-lang/perl ) python? ( dev-lang/python )" -DEPEND="${RDEPEND} - >=sys-apps/sed-4" src_unpack() { unpack ${A} @@ -25,6 +24,7 @@ src_unpack() { epatch "${FILESDIR}/${P}-fPIC.patch" epatch "${FILESDIR}/${PV}-vc.patch" epatch "${FILESDIR}/${P}-gcc34.patch" + epatch "${FILESDIR}/${PV}-dynacomplete.patch" sed -i \ -e "/MCL_LIBRARY_PATH/ s:/usr/lib/mcl:${GAMES_LIBDIR}/${PN}:" \ -- cgit v1.2.3-65-gdbad