Hi

On Tue, Aug 24, 2010 at 11:05:46PM +0200, Landry Breuil wrote:
> On Mon, Aug 23, 2010 at 01:04:25PM +0000, Christian Weisgerber wrote:
> > Landry Breuil <lan...@rhaalovely.net> wrote:
> > 
> > > >       http://nicm.ath.cx/~nicholas/ncursesw.tar.gz
> > > 
> > > I'll run a bulk with it if noone beats me to it.
> > 
> > Here's a list of candidates that are likely to be affected:
> > 
> > audio/herrie.log:cc -c ./src/audio_file.c -O2 -pipe  -I/usr/local/include 
> > -DAPP_NAME=\"herrie\"      -DAPP_VERSION=\"2.2\"     -I/usr/local/include 
> > -I/usr/local/include/ncursesw     -I/usr/local/include/ncurses 
> > -DCURSES_HEADER=\<ncurses.h\> -I/usr/local/include/glib-2.0 
> > -I/usr/local/lib/glib-2.0/include -pthread -I/usr/local/include/glib-2.0 
> > -I/usr/local/lib/glib-2.0/include -DBUILD_HTTP -DBUILD_SCROBBLER 
> > -I/usr/local/include -DBUILD_MP3 -DBUILD_RES_INIT -DBUILD_SNDFILE 
> > -DBUILD_NLS -DBUILD_VORBIS -DBUILD_AO  -o audio_file.o
> > audio/ncmpc.log:checking for initscr in -lncursesw... no
> > audio/pms.log:checking for working ncursesw... no
> > comms/c3270.log:checking for newterm in -lncursesw... no
> > databases/mysql.log:checking for tgetent in -lncursesw... no
> > devel/tig.log:checking for ncursesw/ncurses.h... no
> > editors/zile.log:checking for working ncursesw... no
> > games/clines.log:checking for initscr in -lncursesw... no
> > graphics/libcaca.log:checking for initscr in -lncursesw... no
> > lang/ghc.log:checking for setupterm in -lncursesw... no
> > lang/swi-prolog.log:checking for main in -lncursesw... no
> > mail/abook.log:checking for initscr in -lncursesw... no
> > mail/mutt/snapshot.log:checking for waddnwstr in -lncursesw... no
> > mail/mutt/stable.log:checking for waddnwstr in -lncursesw... no
> > misc/dialog.log:checking if you want the wide-curses features... no
> > misc/lifelines.log:checking for tparm in -lncursesw... no
> 
> Fails with ../../src/hdrs/mycurses.h:8:29: error: ncursesw/curses.h: No
> such file or directory

I don't think we're going to install this so this needs to be fixed in
the port I guess.

> 
> > net/mcabber.log:checking for waddnwstr in -lncursesw... no
> > net/pidgin.log:checking for initscr in -lncursesw... no
> 
> fails because it looks for a 'get_wch' #define in ncurses.h
> all depending ports don't build.. should be wget_wch instead ?

Hmm. get_wch is a macro but it should be there. Does it define
_XOPEN_SOURCE_EXTENDED?

And I just realised I forgot to add the few extra w man pages :-/.

> 
> > print/texlive/base.log:checking if you want the wide-curses features... no
> > productivity/calcurse.log:checking for initscr in -lncursesw... no
> > shells/zsh.log:checking for ncursesw/ncurses.h... no
> 
> Fails at
> curses.c:717: error: 'cchar_t' undeclared (first use in this function)

Again seems like it is probably missing _XOPEN_SOURCE_EXTENDED.

Maybe we should remove the need for that define since we have ncursesw
by default.

Cheers

> 
> > sysutils/ncdu.log:checking for initscr in -lncursesw... no
> > sysutils/testdisk.log:checking for initscr in -lncursesw... no
> > sysutils/vifm.log:checking for initscr in -lncursesw... no
> > textproc/aspell/core.log:checking for wide character support in curses 
> > libraray... no
> > textproc/hunspell.log:checking for tparm in -lncursesw... no
> 
> Other ports package fine... some will probably need to be checked for
> WANTLIB (ncurses -> ncursesw). Some of the configure script seem to
> only check for ncursesw/ncurses.h header, and don't bother trying
> -lncursesw.
> 
> cvs:~landry/ncursesw-found.gz contains the list of 'ncursesw' occurences in
> all the build logs for the bulk.
> 
> Landry

Reply via email to