rust/cargo-c: update to 0.10.7+cargo-0.84.0
[oi-userland.git] / components / network / lftp / patches / 05-ncurses.patch
blob0ba37ae7f15dd70b7db49ff313f1da51b4ce7770
1 --- src/lftp_tinfo.cc.orig 2020-01-08 03:29:15.129200361 +0000
2 +++ src/lftp_tinfo.cc 2020-01-08 03:30:35.491691581 +0000
3 @@ -20,20 +20,20 @@
4 #include <config.h>
6 extern "C" {
7 -#if defined(HAVE_CURSES_H)
8 -# include <curses.h>
9 -# if defined(HAVE_TERM_H)
10 -# include <term.h>
11 -# elif defined(HAVE_NCURSES_TERM_H)
12 -# include <ncurses/term.h>
13 -# endif
14 -#elif defined(HAVE_NCURSES_CURSES_H)
15 +#if defined(HAVE_NCURSES_CURSES_H)
16 # include <ncurses/curses.h>
17 # if defined(HAVE_NCURSES_TERM_H)
18 # include <ncurses/term.h>
19 # elif defined(HAVE_TERM_H)
20 # include <term.h>
21 # endif
22 +#elif defined(HAVE_CURSES_H)
23 +# include <curses.h>
24 +# if defined(HAVE_TERM_H)
25 +# include <term.h>
26 +# elif defined(HAVE_NCURSES_TERM_H)
27 +# include <ncurses/term.h>
28 +# endif
29 #elif defined(HAVE_TERMCAP_H)
30 # include <termcap.h>
31 #else