summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Hamann <code@ares-macrotechnology.com>2023-08-27 14:34:49 +0200
committerJoonas Niilola <juippis@gentoo.org>2023-10-08 18:46:01 +0300
commite4c87cab3a0629e3201f5201b2a843806155b778 (patch)
tree251afd9ca4593c65337c5634df5671b7eef12e41 /app-misc/nnn/files/nnn-4.9_fix_colemak_patch.patch
parentapp-pda/libimobiledevice: restrict libplist 2.3 (diff)
downloadgentoo-e4c87cab3a0629e3201f5201b2a843806155b778.tar.gz
gentoo-e4c87cab3a0629e3201f5201b2a843806155b778.tar.bz2
gentoo-e4c87cab3a0629e3201f5201b2a843806155b778.zip
app-misc/nnn: add 4.9
Drop colemak-dh USE flag. Rationale: The patch is broken and upstream does not maintain it any longer. Include patch for colemak from upstream PR #1744. Signed-off-by: Sebastian Hamann <code@ares-macrotechnology.com> Closes: https://github.com/gentoo/gentoo/pull/32472 Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'app-misc/nnn/files/nnn-4.9_fix_colemak_patch.patch')
-rw-r--r--app-misc/nnn/files/nnn-4.9_fix_colemak_patch.patch29
1 files changed, 29 insertions, 0 deletions
diff --git a/app-misc/nnn/files/nnn-4.9_fix_colemak_patch.patch b/app-misc/nnn/files/nnn-4.9_fix_colemak_patch.patch
new file mode 100644
index 000000000000..b4078c945753
--- /dev/null
+++ b/app-misc/nnn/files/nnn-4.9_fix_colemak_patch.patch
@@ -0,0 +1,29 @@
+diff --git a/patches/colemak/mainline.diff b/patches/colemak/mainline.diff
+index 09cdfe61..387fde0c 100644
+--- a/patches/colemak/mainline.diff
++++ b/patches/colemak/mainline.diff
+@@ -3,10 +3,10 @@
+ #
+ # Author: github.com/jacmoe
+ diff --git a/src/nnn.c b/src/nnn.c
+-index ecedee43..fdf5a80e 100644
++index 21a7370b..2ddb4053 100644
+ --- a/src/nnn.c
+ +++ b/src/nnn.c
+-@@ -5098,32 +5098,32 @@ static void show_help(const char *path)
++@@ -5109,12 +5109,12 @@ static void show_help(const char *path)
+ "2(___n))\n"
+ "0\n"
+ "1NAVIGATION\n"
+@@ -23,8 +23,9 @@ index ecedee43..fdf5a80e 100644
+ + "9G ^N End%20^J Toggle auto-advance on open\n"
+ "8B (,) Book(mark)%11b ^/ Select bookmark\n"
+ "a1-4 Context%11(Sh)Tab Cycle/new context\n"
+- "62Esc ^Q Quit%20q Quit context\n"
+- "b^G QuitCD%18Q Pick/err, quit\n"
++ "62Esc ^Q Quit%19^y Next young\n"
++@@ -5122,20 +5122,20 @@ static void show_help(const char *path)
++ "cq Quit context\n"
+ "0\n"
+ "1FILTER & PROMPT\n"
+ - "c/ Filter%17^N Toggle type-to-nav\n"