mirror of
https://github.com/Ysurac/openmptcprouter-feeds.git
synced 2025-03-09 15:40:03 +00:00
Add mc because upstream doesn't compile
This commit is contained in:
parent
b178e7f460
commit
52841c34c6
5 changed files with 222 additions and 0 deletions
11
mc/patches/010-subshell.patch
Normal file
11
mc/patches/010-subshell.patch
Normal file
|
@ -0,0 +1,11 @@
|
|||
-- a/src/subshell/common.c
|
||||
+++ b/src/subshell/common.c
|
||||
@@ -836,7 +836,7 @@ init_subshell_precmd (char *precmd, size
|
||||
"else "
|
||||
"[ \"${PWD##$HOME/}\" = \"$PWD\" ] && MC_PWD=\"$PWD\" || MC_PWD=\"~/${PWD##$HOME/}\"; "
|
||||
"fi; "
|
||||
- "echo \"$USER@$(hostname -s):$MC_PWD\"; "
|
||||
+ "echo \"$USER@$HOSTNAME:$MC_PWD\"; "
|
||||
"pwd>&%d; "
|
||||
"kill -STOP $$; "
|
||||
"}; " "PRECMD=precmd; " "PS1='$($PRECMD)$ '\n", subshell_pipe[WRITE]);
|
11
mc/patches/020-fix-mouse-handling-newer-terminfo.patch
Normal file
11
mc/patches/020-fix-mouse-handling-newer-terminfo.patch
Normal file
|
@ -0,0 +1,11 @@
|
|||
--- a/lib/tty/tty.c
|
||||
+++ b/lib/tty/tty.c
|
||||
@@ -370,7 +370,7 @@ tty_init_xterm_support (gboolean is_xter
|
||||
if (xmouse_seq != NULL)
|
||||
{
|
||||
if (strcmp (xmouse_seq, ESC_STR "[<") == 0)
|
||||
- xmouse_seq = ESC_STR "[M";
|
||||
+ xmouse_seq = NULL;
|
||||
|
||||
xmouse_extended_seq = ESC_STR "[<";
|
||||
}
|
13
mc/patches/030-fix-gettext-full-0.21.patch
Normal file
13
mc/patches/030-fix-gettext-full-0.21.patch
Normal file
|
@ -0,0 +1,13 @@
|
|||
--- a/po/Makefile.in.in 2020-07-13 04:16:44.000000000 +0800
|
||||
+++ b/po/Makefile.in.in 2021-02-17 18:04:44.881887192 +0800
|
||||
@@ -8,8 +8,8 @@
|
||||
# Please note that the actual code of GNU gettext is covered by the GNU
|
||||
# General Public License and is *not* in the public domain.
|
||||
#
|
||||
-# Origin: gettext-0.18
|
||||
-GETTEXT_MACRO_VERSION = 0.18
|
||||
+# Origin: gettext-0.20
|
||||
+GETTEXT_MACRO_VERSION = 0.20
|
||||
|
||||
PACKAGE = @PACKAGE@
|
||||
VERSION = @VERSION@
|
Loading…
Add table
Add a link
Reference in a new issue