On Mon, 10 Nov 2008, Petr Salinger wrote:


oh... (that's surprising, since I might have expected some portability issue with TAB3, but not OCRNL or ONLRET since they're defined in X/Open).

Didn't ncurses 5.6 compile with kFreeBSD?

They did, the problem started with ncurses 5.6+20081011-1 (5.6+20081004-1 have been ok), see http://buildd.debian-ports.org/build.php?arch=&pkg=ncurses

20081011 adds this change to tset.c (perhaps it introduces a different
set of included files - noting that the ifdef reflects a problem long ago with SunOS):

--- ncurses-5.6-20081004+/progs/tset.c  2008-09-13 18:55:15.000000000 +0000
+++ ncurses-5.6-20081011/progs/tset.c   2008-10-11 19:26:19.000000000 +0000
@@ -89,9 +89,12 @@
 char *ttyname(int fd);
 #endif

-/* this is just to stifle a missing-prototype warning */
-#ifdef linux
-# include <sys/ioctl.h>
+#if HAVE_SIZECHANGE
+# if !defined(sun) || !TERMIOS
+#  if HAVE_SYS_IOCTL_H
+#   include <sys/ioctl.h>
+#  endif
+# endif
 #endif

 #if NEED_PTEM_H


--
Thomas E. Dickey
http://invisible-island.net
ftp://invisible-island.net



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to