mc: update to 4.8.26

Refreshed patches and added one from alpine linux to fix musl
compilation.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
This commit is contained in:
Rosen Penev
2021-02-14 22:14:28 -08:00
parent ebc85bbc9d
commit 25217547b3
4 changed files with 15 additions and 5 deletions
+2 -2
View File
@@ -1,6 +1,6 @@
-- a/src/subshell/common.c
--- a/src/subshell/common.c
+++ b/src/subshell/common.c
@@ -836,7 +836,7 @@ init_subshell_precmd (char *precmd, size
@@ -1128,7 +1128,7 @@ init_subshell_precmd (char *precmd, size
"else "
"[ \"${PWD##$HOME/}\" = \"$PWD\" ] && MC_PWD=\"$PWD\" || MC_PWD=\"~/${PWD##$HOME/}\"; "
"fi; "
@@ -1,6 +1,6 @@
--- a/lib/tty/tty.c
+++ b/lib/tty/tty.c
@@ -370,7 +370,7 @@ tty_init_xterm_support (gboolean is_xter
@@ -393,7 +393,7 @@ tty_init_xterm_support (gboolean is_xter
if (xmouse_seq != NULL)
{
if (strcmp (xmouse_seq, ESC_STR "[<") == 0)
+10
View File
@@ -0,0 +1,10 @@
--- a/lib/tty/tty-ncurses.h
+++ b/lib/tty/tty-ncurses.h
@@ -3,6 +3,7 @@
#define MC__TTY_NCURSES_H
#ifdef USE_NCURSES
+#define _XOPEN_SOURCE_EXTENDED
#ifdef HAVE_NCURSES_CURSES_H
#include <ncurses/curses.h>
#elif defined (HAVE_NCURSES_NCURSES_H)