lftp/lftp.patch

changeset 466
edc7e45b466a
child 467
e2558d4b246c
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/lftp/lftp.patch	Fri Aug 03 16:55:16 2012 +0200
     1.3 @@ -0,0 +1,32 @@
     1.4 +Index: src/lftp_tinfo.cc
     1.5 +--- src/lftp_tinfo.cc.orig	2008-11-27 06:56:39 +0100
     1.6 ++++ src/lftp_tinfo.cc	2009-09-13 21:09:13 +0200
     1.7 +@@ -23,20 +23,20 @@
     1.8 + #include <config.h>
     1.9 + 
    1.10 + extern "C" {
    1.11 +-#if defined(HAVE_CURSES_H)
    1.12 +-# include <curses.h>
    1.13 +-# if defined(HAVE_TERM_H)
    1.14 +-#  include <term.h>
    1.15 +-# elif defined(HAVE_NCURSES_TERM_H)
    1.16 +-#  include <ncurses/term.h>
    1.17 +-# endif
    1.18 +-#elif defined(HAVE_NCURSES_CURSES_H)
    1.19 ++#if defined(HAVE_NCURSES_CURSES_H)
    1.20 + # include <ncurses/curses.h>
    1.21 + # if defined(HAVE_NCURSES_TERM_H)
    1.22 + #  include <ncurses/term.h>
    1.23 + # elif defined(HAVE_TERM_H)
    1.24 + #  include <term.h>
    1.25 + # endif
    1.26 ++#elif defined(HAVE_CURSES_H)
    1.27 ++# include <curses.h>
    1.28 ++# if defined(HAVE_TERM_H)
    1.29 ++#  include <term.h>
    1.30 ++# elif defined(HAVE_NCURSES_TERM_H)
    1.31 ++#  include <ncurses/term.h>
    1.32 ++# endif
    1.33 + #elif defined(HAVE_TERMCAP_H)
    1.34 + # include <termcap.h>
    1.35 + #endif

mercurial