mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-05 06:28:55 +02:00
mc: update recipe to 4.8.12
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
diff --git mc-4.8.11/lib/tty/tty-ncurses.c mc-4.8.11-haiku/lib/tty/tty-ncurses.c
|
||||
--- mc-4.8.11/lib/tty/tty-ncurses.c
|
||||
+++ mc-4.8.11-haiku/lib/tty/tty-ncurses.c
|
||||
diff --git mc-4.8.12/lib/tty/tty-ncurses.c mc-4.8.12-haiku/lib/tty/tty-ncurses.c
|
||||
--- mc-4.8.12/lib/tty/tty-ncurses.c
|
||||
+++ mc-4.8.12-haiku/lib/tty/tty-ncurses.c
|
||||
@@ -66,7 +66,7 @@
|
||||
|
||||
/*** file scope macro definitions ****************************************************************/
|
||||
@@ -9,4 +9,35 @@ diff --git mc-4.8.11/lib/tty/tty-ncurses.c mc-4.8.11-haiku/lib/tty/tty-ncurses.c
|
||||
+#if !defined(CTRL)
|
||||
#define CTRL(x) ((x) & 0x1f)
|
||||
#endif
|
||||
|
||||
diff --git mc-4.8.12/lib/mcconfig/paths.c mc-4.8.12-haiku/lib/mcconfig/paths.c
|
||||
--- mc-4.8.12/lib/mcconfig/paths.c
|
||||
+++ mc-4.8.12-haiku/lib/mcconfig/paths.c
|
||||
@@ -289,6 +289,7 @@
|
||||
mc_config_init_config_paths (GError ** error)
|
||||
{
|
||||
char *dir;
|
||||
+ char *defined_userconf_dir;
|
||||
|
||||
if (xdg_vars_initialized)
|
||||
return;
|
||||
@@ -346,7 +347,6 @@
|
||||
|
||||
mc_config_fix_migrated_rules ();
|
||||
#else /* MC_HOMEDIR_XDG */
|
||||
- char *defined_userconf_dir;
|
||||
|
||||
defined_userconf_dir = tilde_expand (MC_USERCONF_DIR);
|
||||
if (g_path_is_absolute (defined_userconf_dir))
|
||||
|
||||
diff --git mc-4.8.12/lib/tty/tty-slang.h mc-4.8.12-haiku/lib/tty/tty-slang.h
|
||||
--- mc-4.8.12/lib/tty/tty-slang.h
|
||||
+++ mc-4.8.12-haiku/lib/tty/tty-slang.h
|
||||
@@ -1,6 +1,7 @@
|
||||
|
||||
#ifndef MC__TTY_SLANG_H
|
||||
#define MC__TTY_SLANG_H
|
||||
+#define REAL_UNIX_SYSTEM
|
||||
|
||||
#ifdef HAVE_SLANG_SLANG_H
|
||||
#include <slang/slang.h>
|
||||
|
||||
Reference in New Issue
Block a user