lftp/lftp.patch

Fri, 07 Sep 2012 19:08:07 +0200

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Fri, 07 Sep 2012 19:08:07 +0200
changeset 667
9dacbd1d1aa2
parent 467
e2558d4b246c
permissions
-rw-r--r--

Correct build configuration in Solaris subdir, correct english grammar,
remove irrelevant strip notice, introduce custom CFLAG logic, facilitate
use of Solaris Studio compiler with needed build configuration
adjustments, conditionally build 64 bit position independent code,
and accommodate tun(7) in newer Solaris releases by renaming driver
and module from conflicting 'tun' to 'vtun'. These changes include
some nonstandard 'I give up' logic causing out of tree builds by
manipulating the PATH, for example.

     1 Index: src/lftp_tinfo.cc
     2 --- src/lftp_tinfo.cc.orig	2008-11-27 06:56:39 +0100
     3 +++ src/lftp_tinfo.cc	2009-09-13 21:09:13 +0200
     4 @@ -23,20 +23,20 @@
     5  #include <config.h>
     7  extern "C" {
     8 -#if defined(HAVE_CURSES_H)
     9 -# include <curses.h>
    10 -# if defined(HAVE_TERM_H)
    11 -#  include <term.h>
    12 -# elif defined(HAVE_NCURSES_TERM_H)
    13 -#  include <ncurses/term.h>
    14 -# endif
    15 -#elif defined(HAVE_NCURSES_CURSES_H)
    16 +#if defined(HAVE_NCURSES_CURSES_H)
    17  # include <ncurses/curses.h>
    18  # if defined(HAVE_NCURSES_TERM_H)
    19  #  include <ncurses/term.h>
    20  # elif defined(HAVE_TERM_H)
    21  #  include <term.h>
    22  # endif
    23 +#elif defined(HAVE_CURSES_H)
    24 +# include <curses.h>
    25 +# if defined(HAVE_TERM_H)
    26 +#  include <term.h>
    27 +# elif defined(HAVE_NCURSES_TERM_H)
    28 +#  include <ncurses/term.h>
    29 +# endif
    30  #elif defined(HAVE_TERMCAP_H)
    31  # include <termcap.h>
    32  #endif

mercurial