DragonFly BSD
DragonFly commits List (threaded) for 2012-08
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

git: ncurses: Fix pkgsrc check and use of ncurses


From: John Marino <marino@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Tue, 7 Aug 2012 06:13:21 -0700 (PDT)

commit e27e6728f653b70f5d41b5a3c332e9be4b3c434c
Author: John Marino <draco@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



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]