Ticket #3043: mc-4.8.9-ncurses-include-fix.patch

File mc-4.8.9-ncurses-include-fix.patch, 496 bytes (added by wired, 6 years ago)
  • lib/tty/tty-ncurses.h

    ncurses detection fix
    
    https://bugs.gentoo.org/show_bug.cgi?id=476932
    
    old new  
    55#ifdef USE_NCURSES 
    66#ifdef HAVE_NCURSES_CURSES_H 
    77#include <ncurses/curses.h> 
    8 #elif HAVE_NCURSES_NCURSES_H || HAVE_NCURSESW_CURSES_H 
     8#elif HAVE_NCURSES_NCURSES_H 
    99#include <ncurses/ncurses.h> 
     10#elif HAVE_NCURSESW_CURSES_H 
     11#include <ncursesw/ncurses.h> 
    1012#elif HAVE_NCURSES_HCURSES_H || HAVE_NCURSES_H 
    1113#include <ncurses.h> 
    1214#else