Ticket #4035: mc-4.8.23.patch

File mc-4.8.23.patch, 2.7 KB (added by kroleg, 8 weeks ago)
  • doc/man/hu/Makefile.in

    diff -Naur mc-4.8.23.old/doc/man/hu/Makefile.in mc-4.8.23/doc/man/hu/Makefile.in
    old new  
    453453        -e "s{%libexecdir%{@libexecdir@{g" 
    454454 
    455455MAN_DATE_CMD = \ 
    456         LC_ALL=$(DATE_LANG) @PERL@ -MPOSIX -e '\ 
     456        LC_ALL=$(DATE_LANG) @PERL@ -CS -MPOSIX -e '\ 
    457457            @fi=lstat("'$${MAN_FILE}'"); \ 
    458458            print POSIX::strftime("$(DATE_FORMAT)", localtime($$fi[9]));' 2>/dev/null 
    459459 
  • lib/widget/menu.c

    diff -Naur mc-4.8.23.old/lib/widget/menu.c mc-4.8.23/lib/widget/menu.c
    old new  
    4646 
    4747/*** global variables ****************************************************************************/ 
    4848 
    49 const global_keymap_t *menu_map; 
     49const global_keymap_t *menu_map = NULL; 
    5050 
    5151/*** file scope macro definitions ****************************************************************/ 
    5252 
  • lib/widget/menu.h

    diff -Naur mc-4.8.23.old/lib/widget/menu.h mc-4.8.23/lib/widget/menu.h
    old new  
    3838} WMenuBar; 
    3939 
    4040/*** global variables defined in .c file *********************************************************/ 
     41extern const global_keymap_t *menu_map; 
    4142 
    4243/*** declarations of public functions ************************************************************/ 
    4344 
  • src/keybind-defaults.c

    diff -Naur mc-4.8.23.old/src/keybind-defaults.c mc-4.8.23/src/keybind-defaults.c
    old new  
    2828#include <config.h> 
    2929 
    3030#include "lib/global.h" 
    31 #include "lib/widget.h"         /* dialog_map, input_map, listbox_map */ 
     31#include "lib/widget.h"         /* dialog_map, input_map, listbox_map, menu_map */ 
    3232 
    3333#include "keybind-defaults.h" 
    3434 
     
    5656const global_keymap_t *main_map = NULL; 
    5757const global_keymap_t *main_x_map = NULL; 
    5858const global_keymap_t *panel_map = NULL; 
    59 const global_keymap_t *menu_map = NULL; 
    6059const global_keymap_t *tree_map = NULL; 
    6160const global_keymap_t *help_map = NULL; 
    6261 
  • src/keybind-defaults.h

    diff -Naur mc-4.8.23.old/src/keybind-defaults.h mc-4.8.23/src/keybind-defaults.h
    old new  
    3535extern const global_keymap_t *main_map; 
    3636extern const global_keymap_t *main_x_map; 
    3737extern const global_keymap_t *panel_map; 
    38 extern const global_keymap_t *menu_map; 
    3938extern const global_keymap_t *tree_map; 
    4039extern const global_keymap_t *help_map; 
    4140