mirror of
https://github.com/novatiq/packages.git
synced 2026-04-29 23:18:42 +01:00
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:
@@ -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)
|
||||
|
||||
@@ -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)
|
||||
Reference in New Issue
Block a user