From 64e107b9b6058580ff0432107eb37cefb0b2a7d8 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 22 Oct 2018 11:09:47 +0100 Subject: gentoo resync : 22.10.2018 --- .../files/nano-2.8.7-minimal_compile_fix.patch | 38 ------------------ app-editors/nano/files/nano-3.0-misbinding.patch | 46 ---------------------- 2 files changed, 84 deletions(-) delete mode 100644 app-editors/nano/files/nano-2.8.7-minimal_compile_fix.patch delete mode 100644 app-editors/nano/files/nano-3.0-misbinding.patch (limited to 'app-editors/nano/files') diff --git a/app-editors/nano/files/nano-2.8.7-minimal_compile_fix.patch b/app-editors/nano/files/nano-2.8.7-minimal_compile_fix.patch deleted file mode 100644 index ef8d74910164..000000000000 --- a/app-editors/nano/files/nano-2.8.7-minimal_compile_fix.patch +++ /dev/null @@ -1,38 +0,0 @@ -From 28cfab7580c42a6d6c9c5d787ce736094fd51a0c Mon Sep 17 00:00:00 2001 -From: Benno Schulenberg -Date: Tue, 29 Aug 2017 19:28:44 +0200 -Subject: tweaks: fix compilation when configured with --enable-tiny - -When moving the cursor to the top-left corner, it is not necessary -to compute leftedge because firstcolumn IS the relevant leftedge. - -Reported-by: Jordi Mallach ---- - src/move.c | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -diff --git a/src/move.c b/src/move.c -index d138356..ce276e4 100644 ---- a/src/move.c -+++ b/src/move.c -@@ -121,7 +121,7 @@ void do_page_up(void) - openfile->current = openfile->edittop; - openfile->current_y = 0; - -- leftedge = leftedge_for(openfile->firstcolumn, openfile->edittop); -+ leftedge = openfile->firstcolumn; - target_column = 0; - } else - get_edge_and_target(&leftedge, &target_column); -@@ -152,7 +152,7 @@ void do_page_down(void) - openfile->current = openfile->edittop; - openfile->current_y = 0; - -- leftedge = leftedge_for(openfile->firstcolumn, openfile->edittop); -+ leftedge = openfile->firstcolumn; - target_column = 0; - } else - get_edge_and_target(&leftedge, &target_column); --- -cgit v1.0-41-gc330 - diff --git a/app-editors/nano/files/nano-3.0-misbinding.patch b/app-editors/nano/files/nano-3.0-misbinding.patch deleted file mode 100644 index 2312edcff06c..000000000000 --- a/app-editors/nano/files/nano-3.0-misbinding.patch +++ /dev/null @@ -1,46 +0,0 @@ -From 09ab2e3d0eeb33bc4d0702623404ba01b1f8fa9a Mon Sep 17 00:00:00 2001 -From: Benno Schulenberg -Date: Wed, 12 Sep 2018 13:18:17 +0200 -Subject: [PATCH] bindings: when Ctrl+Shift+Delete has no keycode, don't - use KEY_BSP - -When curses gives no code for Ctrl+Shift+Delete, do not fall back -to KEY_BACKSPACE, because then ^H and/or get bound to -'cutwordleft'. - -This fixes https://savannah.gnu.org/bugs/?54642. - -Bug was introduced with version 3.0, commit e6429e78. ---- - src/nano.c | 2 +- - src/nano.h | 1 + - 2 files changed, 2 insertions(+), 1 deletion(-) - -diff --git a/src/nano.c b/src/nano.c -index c7e0ca2d..74e12439 100644 ---- a/src/nano.c -+++ b/src/nano.c -@@ -2580,7 +2580,7 @@ int main(int argc, char **argv) - controlhome = get_keycode("kHOM5", CONTROL_HOME); - controlend = get_keycode("kEND5", CONTROL_END); - controldelete = get_keycode("kDC5", CONTROL_DELETE); -- controlshiftdelete = get_keycode("kDC6", KEY_BACKSPACE); -+ controlshiftdelete = get_keycode("kDC6", CONTROL_SHIFT_DELETE); - #ifndef NANO_TINY - /* Ask for the codes for Shift+Control+Left/Right/Up/Down. */ - shiftcontrolleft = get_keycode("kLFT6", SHIFT_CONTROL_LEFT); -diff --git a/src/nano.h b/src/nano.h -index e1042759..7de34bf3 100644 ---- a/src/nano.h -+++ b/src/nano.h -@@ -588,6 +588,7 @@ enum - #define SHIFT_CONTROL_DOWN 0x414 - #define SHIFT_CONTROL_HOME 0x415 - #define SHIFT_CONTROL_END 0x416 -+#define CONTROL_SHIFT_DELETE 0x417 - #define ALT_LEFT 0x421 - #define ALT_RIGHT 0x422 - #define ALT_UP 0x423 --- -2.17.1 - -- cgit v1.2.3