diff options
author | 2006-01-11 04:28:56 +0000 | |
---|---|---|
committer | 2006-01-11 04:28:56 +0000 | |
commit | d5b6e6de53a0141b857c258176179a87ffc4357f (patch) | |
tree | f48820feb4c1f3b8b17b5438cc5ca47e69e54881 /app-editors | |
parent | Stable on x86; bug #114587 (diff) | |
download | gentoo-2-d5b6e6de53a0141b857c258176179a87ffc4357f.tar.gz gentoo-2-d5b6e6de53a0141b857c258176179a87ffc4357f.tar.bz2 gentoo-2-d5b6e6de53a0141b857c258176179a87ffc4357f.zip |
Fix from upstream.
(Portage version: 2.1_pre3-r1)
Diffstat (limited to 'app-editors')
-rw-r--r-- | app-editors/nano/ChangeLog | 8 | ||||
-rw-r--r-- | app-editors/nano/files/nano-1.3.10-disp.patch | 18 | ||||
-rw-r--r-- | app-editors/nano/nano-1.3.10.ebuild | 10 |
3 files changed, 32 insertions, 4 deletions
diff --git a/app-editors/nano/ChangeLog b/app-editors/nano/ChangeLog index d7c4d8a33a39..363f5b3c0780 100644 --- a/app-editors/nano/ChangeLog +++ b/app-editors/nano/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for app-editors/nano -# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-editors/nano/ChangeLog,v 1.82 2005/12/24 06:49:03 vapier Exp $ +# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/app-editors/nano/ChangeLog,v 1.83 2006/01/11 04:28:56 vapier Exp $ + + 11 Jan 2006; Mike Frysinger <vapier@gentoo.org> + +files/nano-1.3.10-disp.patch, nano-1.3.10.ebuild: + Fix from upstream. *nano-1.3.10 (24 Dec 2005) diff --git a/app-editors/nano/files/nano-1.3.10-disp.patch b/app-editors/nano/files/nano-1.3.10-disp.patch new file mode 100644 index 000000000000..01201c37fd3f --- /dev/null +++ b/app-editors/nano/files/nano-1.3.10-disp.patch @@ -0,0 +1,18 @@ +http://lists.gnu.org/archive/html/nano-devel/2006-01/msg00000.html +http://lists.gnu.org/archive/html/nano-devel/2006-01/msg00001.html + +diff -ur nano-1.3.10/src/winio.c nano-1.3.10-fixed/src/winio.c +--- nano-1.3.10/src/winio.c 2005-12-08 02:24:54.000000000 -0500 ++++ nano-1.3.10-fixed/src/winio.c 2006-01-10 03:10:14.000000000 -0500 +@@ -2772,6 +2772,11 @@ + + openfile->edittop = old_edittop; + ++ /* Update old_current if we're not on the first page and/or ++ * we're not on the same page as before. */ ++ if (do_redraw) ++ update_line(old_current, 0); ++ + /* Scroll the edit window up or down until edittop is in range + * of current. */ + if (nlines < 0) diff --git a/app-editors/nano/nano-1.3.10.ebuild b/app-editors/nano/nano-1.3.10.ebuild index b0539862a371..2c0b5361bceb 100644 --- a/app-editors/nano/nano-1.3.10.ebuild +++ b/app-editors/nano/nano-1.3.10.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2005 Gentoo Foundation +# Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-editors/nano/nano-1.3.10.ebuild,v 1.1 2005/12/24 06:49:03 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-editors/nano/nano-1.3.10.ebuild,v 1.2 2006/01/11 04:28:56 vapier Exp $ #ECVS_SERVER="savannah.gnu.org:/cvsroot/nano" #ECVS_MODULE="nano" @@ -24,6 +24,12 @@ DEPEND=">=sys-libs/ncurses-5.2 !ncurses? ( slang? ( sys-libs/slang ) )" PROVIDE="virtual/editor" +src_unpack() { + unpack ${A} + cd "${S}" + epatch "${FILESDIR}"/${P}-disp.patch +} + src_compile() { if [[ ! -e configure ]] ; then ./autogen.sh || die "autogen failed" |