git: ftp(1): Avoid symbol conflict with ncurses.

Rimvydas Jasinskas zrj at crater.dragonflybsd.org
Fri Nov 17 03:11:46 PST 2017


commit ada524f644359647332ce8c1b7913dea5496f846
Author: zrj <rimvydas.jasinskas at gmail.com>
Date:   Fri Nov 17 12:03:18 2017 +0200

    ftp(1): Avoid symbol conflict with ncurses.
    
    The contrib/tnftp/src/ftp_var.h: GLOBAL int trace;
    while lib_trace.c: void trace(const unsigned int){};
    This breaks -flto -static link against LTO'ed libncurses.a.
    
    Since it is in contrib code, just -Dtrace it.

Summary of changes:
 usr.bin/ftp/Makefile | 4 ++++
 1 file changed, 4 insertions(+)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/ada524f644359647332ce8c1b7913dea5496f846


-- 
DragonFly BSD source repository



More information about the Commits mailing list