On Fri, Nov 07, 2008 at 04:20:10PM +0100, Petr Salinger wrote: > Package: ncurses > Severity: important > Version: 5.7-1 > Tags: patch > User: [EMAIL PROTECTED] > Usertags: kfreebsd > > > Hi, > > the current version fails to build on GNU/kFreeBSD.
Which of the values isn't defined? The chunk of code you're pointing to hasn't changed for a long time (it's in ncurses 4.2). If it's broken now, it's either because tset's use of header files has changed, or that kFreeBSD's headers have changed. The only relevant change that I can see in the configure script would be this item: 20070217 + add pattern for GNU/kFreeBSD configuration to CF_XOPEN_SOURCE, which matches an earlier change to CF_SHARED_OPTS, from xterm #224 fixes. It would be helpful to know the exact problem (what the particular value is that's undefined, and why it's not defined versus the configure script). > -#ifdef TAB3 > +#if defined(TAB3) && defined(ONLCR) && defined(OCRNL) && defined(ONLRET) > if (oldmode.c_oflag & (TAB3 | ONLCR | OCRNL | ONLRET)) { > oldmode.c_oflag &= (TAB3 | ONLCR | OCRNL | ONLRET); > SET_TTY(STDERR_FILENO, &oldmode); -- Thomas E. Dickey http://invisible-island.net ftp://invisible-island.net
pgpQdq5qnmMgY.pgp
Description: PGP signature