An emerge of xterm-269 with sys-libs/ncurses-5.5-r3 installed on the system failed with the error message: i686-pc-linux-gnu-gcc -I. -I. -DHAVE_CONFIG_H -D_GNU_SOURCE -DNARROWPROTO=1 -DFUNCPROTO=15 -DOSMAJORVERSION=2 -DOSMINORVERSION=6 -I/usr/include/freetype2 -DXTSTRINGDEFINES -O2 -march=i686 -pipe -W -Wall -Wbad-function-cast -Wcast-align -Wcast-qual -Winline -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wshadow -Wstrict-prototypes -Wundef -Wdeclaration-after-statement -Wextra -Wno-unknown-pragmas -Wswitch-enum -c ./input.c In file included from ./xtermcap.h:62, from ./input.c:86: /usr/include/curses.h:1315: error: expected ';', ',' or ')' before '*' token make: *** [input.o] Error 1 emake failed (The offending line in /usr/include/curses.h was a prototype that used the undefined wint_t type.) To solve this, I upgraded to sys-libs/ncurses-5.6-r2, which allowed the xterm-269 build to complete. So x11-terms/xterm-269 (and probably earlier xterm versions) should depend on >=sys-libs/ncurses-5.6-r2.
funny, entire ncurses depend was missing from xterm + 27 Sep 2011; Samuli Suominen <ssuominen@gentoo.org> xterm-274.ebuild: + Missing sys-libs/ncurses depend wrt #383755 by Dave Kemper