diff options
author | Mike Frysinger <vapier@gentoo.org> | 2005-09-14 02:15:14 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2005-09-14 02:15:14 +0000 |
commit | e6b275ca01c4c49e5cd6ca463d9c9009908fb901 (patch) | |
tree | 025e3b60aa540c54f4312f74c6dd0b71f83a6769 /app-editors | |
parent | Version bump. added sse useflag. bug #105726. (diff) | |
download | gentoo-2-e6b275ca01c4c49e5cd6ca463d9c9009908fb901.tar.gz gentoo-2-e6b275ca01c4c49e5cd6ca463d9c9009908fb901.tar.bz2 gentoo-2-e6b275ca01c4c49e5cd6ca463d9c9009908fb901.zip |
Fix from upstream for minor bug in display not being updated properly.
(Portage version: 2.0.51.22-r2)
Diffstat (limited to 'app-editors')
-rw-r--r-- | app-editors/nano/ChangeLog | 6 | ||||
-rw-r--r-- | app-editors/nano/files/nano-1.3.8-display.patch | 96 | ||||
-rw-r--r-- | app-editors/nano/nano-1.3.8.ebuild | 3 |
3 files changed, 103 insertions, 2 deletions
diff --git a/app-editors/nano/ChangeLog b/app-editors/nano/ChangeLog index 4b9cb97c237c..172d6dbbecf8 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.77 2005/08/03 18:42:52 kloeri Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-editors/nano/ChangeLog,v 1.78 2005/09/14 02:15:14 vapier Exp $ + + 14 Sep 2005; Mike Frysinger <vapier@gentoo.org> + +files/nano-1.3.8-display.patch, nano-1.3.8.ebuild: + Fix from upstream for minor bug in display not being updated properly. 03 Aug 2005; Bryan Østergaard <kloeri@gentoo.org> nano-1.3.7.ebuild: Stable on alpha. diff --git a/app-editors/nano/files/nano-1.3.8-display.patch b/app-editors/nano/files/nano-1.3.8-display.patch new file mode 100644 index 000000000000..2f3aacdc0634 --- /dev/null +++ b/app-editors/nano/files/nano-1.3.8-display.patch @@ -0,0 +1,96 @@ +http://lists.gnu.org/archive/html/nano-devel/2005-09/msg00012.html + +--- nano-1.3.8/src/global.c ++++ nano-1.3.8/src/global.c +@@ -528,11 +528,11 @@ + + sc_init_one(&main_list, NANO_FORWARD_KEY, N_("Forward"), + IFHELP(nano_forward_msg, NANO_NO_KEY), NANO_NO_KEY, +- NANO_NO_KEY, VIEW, do_right_void); ++ NANO_NO_KEY, VIEW, do_right); + + sc_init_one(&main_list, NANO_BACK_KEY, N_("Back"), + IFHELP(nano_back_msg, NANO_NO_KEY), NANO_NO_KEY, +- NANO_NO_KEY, VIEW, do_left_void); ++ NANO_NO_KEY, VIEW, do_left); + + sc_init_one(&main_list, NANO_HOME_KEY, N_("Home"), + IFHELP(nano_home_msg, NANO_NO_KEY), NANO_NO_KEY, +--- nano-1.3.8/src/move.c ++++ nano-1.3.8/src/move.c +@@ -248,7 +248,7 @@ + update_line(current, current_x); + } + +-void do_left(bool allow_update) ++void do_left(void) + { + size_t pww_save = placewewant; + if (current_x > 0) +@@ -259,16 +259,11 @@ + } + placewewant = xplustabs(); + check_statusblank(); +- if (allow_update && need_horizontal_update(pww_save)) ++ if (need_horizontal_update(pww_save)) + update_line(current, current_x); + } + +-void do_left_void(void) +-{ +- do_left(TRUE); +-} +- +-void do_right(bool allow_update) ++void do_right(void) + { + size_t pww_save = placewewant; + assert(current_x <= strlen(current->data)); +@@ -281,11 +276,6 @@ + } + placewewant = xplustabs(); + check_statusblank(); +- if (allow_update && need_horizontal_update(pww_save)) ++ if (need_horizontal_update(pww_save)) + update_line(current, current_x); + } +- +-void do_right_void(void) +-{ +- do_right(TRUE); +-} +--- nano-1.3.8/src/nano.c ++++ nano-1.3.8/src/nano.c +@@ -1304,7 +1304,7 @@ + void do_backspace(void) + { + if (current != fileage || current_x > 0) { +- do_left(FALSE); ++ do_left(); + do_delete(); + } + } +@@ -4093,7 +4093,7 @@ + mark_beginx += char_buf_len; + #endif + +- do_right(FALSE); ++ do_right(); + + #ifndef DISABLE_WRAPPING + /* If we're wrapping text, we need to call edit_refresh(). */ +--- nano-1.3.8/src/proto.h ++++ nano-1.3.8/src/proto.h +@@ -353,10 +353,8 @@ + void do_page_down(void); + void do_up(void); + void do_down(void); +-void do_left(bool allow_update); +-void do_left_void(void); +-void do_right(bool allow_update); +-void do_right_void(void); ++void do_left(void); ++void do_right(void); + + /* Public functions in nano.c. */ + void print_view_warning(void); diff --git a/app-editors/nano/nano-1.3.8.ebuild b/app-editors/nano/nano-1.3.8.ebuild index bd36fd0e595a..dbf6b73d4484 100644 --- a/app-editors/nano/nano-1.3.8.ebuild +++ b/app-editors/nano/nano-1.3.8.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-editors/nano/nano-1.3.8.ebuild,v 1.3 2005/08/31 22:23:11 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-editors/nano/nano-1.3.8.ebuild,v 1.4 2005/09/14 02:15:14 vapier Exp $ inherit eutils @@ -23,6 +23,7 @@ src_unpack() { unpack ${A} cd "${S}" epatch "${FILESDIR}"/${P}-rep.patch + epatch "${FILESDIR}"/${P}-display.patch use nomac && epatch "${FILESDIR}"/${PN}-1.3.6-nomac.patch } |