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

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


commit 69a0f59f4dd0c896847210afdc0277a040855662
Author: zrj <rimvydas.jasinskas at gmail.com>
Date:   Fri Nov 17 12:17:27 2017 +0200

    tftp(1): Avoid symbol conflict with ncurses.
    
    The usr.bin/tftp/main.c: int trace;
    while lib_trace.c: void trace(const unsigned int){};
    This breaks -flto -static link against LTO'ed libncurses.a.
    
    Fix it by just renaming: s/trace/tftp_trace/g.

Summary of changes:
 usr.bin/tftp/main.c |  8 ++++----
 usr.bin/tftp/tftp.c | 16 ++++++++--------
 2 files changed, 12 insertions(+), 12 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/69a0f59f4dd0c896847210afdc0277a040855662


-- 
DragonFly BSD source repository



More information about the Commits mailing list