git: ncurses: Fix pkgsrc check and use of ncurses
    John Marino 
    marino at crater.dragonflybsd.org
       
    Tue Aug  7 06:13:21 PDT 2012
    
    
  
commit e27e6728f653b70f5d41b5a3c332e9be4b3c434c
Author: John Marino <draco at marino.st>
Date:   Tue Aug 7 13:35:26 2012 +0200
    ncurses: Fix pkgsrc check and use of ncurses
    
    Without the macro SET_NEED_WCHAR_H defined, the ncurses header will not
    include wchar.h which is where the wint_t type is defined.  This breaks
    any program loading ncurses.h without defining this macro because several
    functions use the wint_t type.
    
    Define wint_t as int if wchar.h isn't included.  This fixes the ncurses
    check on several pkgsrc configuration checks and allows the package to
    build with the system ncurses.
Summary of changes:
 lib/libncurses/include/curses.head |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/e27e6728f653b70f5d41b5a3c332e9be4b3c434c
-- 
DragonFly BSD source repository
    
    
More information about the Commits
mailing list