git: file(1): Unbreak buildworld.

Sascha Wildner swildner at crater.dragonflybsd.org
Sun Jan 25 05:00:09 PST 2015


commit 372f6e60d8b5056a2cf692df7645fce9b3b69fc9
Author: Sascha Wildner <saw at online.de>
Date:   Sun Jan 25 13:54:27 2015 +0100

    file(1): Unbreak buildworld.
    
    The issue is the missing definition of wchar_t in <inttypes.h> (required
    by POSIX too) which file(1) winds up needing because of new code in this
    version.
    
    The commit 3e581a72263dd3b726387b5dc2399a066511099f fixes it correctly
    but mkmagic.nx is a build-tool and so uses host includes (which don't
    have that <inttypes.h> fix yet at this point).
    
    I see no other way to fix this easily right now than just including
    <wchar.h>. This has a wchar_t definition, too.
    
    Reported-by: Robin Hahling <robin.hahling at gw-computing.net>

Summary of changes:
 contrib/file/src/file.h | 1 +
 1 file changed, 1 insertion(+)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/372f6e60d8b5056a2cf692df7645fce9b3b69fc9


-- 
DragonFly BSD source repository


More information about the Commits mailing list