diff -r 6a12068a8ac8 -r edc7e45b466a lftp/lftp.patch --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/lftp/lftp.patch Fri Aug 03 16:55:16 2012 +0200 @@ -0,0 +1,32 @@ +Index: src/lftp_tinfo.cc +--- src/lftp_tinfo.cc.orig 2008-11-27 06:56:39 +0100 ++++ src/lftp_tinfo.cc 2009-09-13 21:09:13 +0200 +@@ -23,20 +23,20 @@ + #include + + extern "C" { +-#if defined(HAVE_CURSES_H) +-# include +-# if defined(HAVE_TERM_H) +-# include +-# elif defined(HAVE_NCURSES_TERM_H) +-# include +-# endif +-#elif defined(HAVE_NCURSES_CURSES_H) ++#if defined(HAVE_NCURSES_CURSES_H) + # include + # if defined(HAVE_NCURSES_TERM_H) + # include + # elif defined(HAVE_TERM_H) + # include + # endif ++#elif defined(HAVE_CURSES_H) ++# include ++# if defined(HAVE_TERM_H) ++# include ++# elif defined(HAVE_NCURSES_TERM_H) ++# include ++# endif + #elif defined(HAVE_TERMCAP_H) + # include + #endif