tags 526160 + patch thankyou Hi,
ksh is failing because libc0.1-dev does not provide TAB{0,1,2,3}, but only TAB{0,3} (=> <bits/termios.h>). As this seems to be intentional (see http://www.freshports.org/sysutils/coreutils/ for the corresponding changes to the BSD coreutils), ksh should probably just play along and make the two lines in src/lib/libcmd/stty.c dependent on the presence of those two macros. I'd suggest applying the attached patch. With it ksh builds fine again. Regards, Jan
--- ksh-93s+20080202/src/lib/libcmd/stty.c.orig 2007-11-27 22:54:41.000000000 +0100 +++ ksh-93s+20080202/src/lib/libcmd/stty.c 2009-04-29 19:11:16.000000000 +0200 @@ -315,8 +315,12 @@ #ifdef TABDLY { "tabs", TABS, O_FLAG, IG, TABDLY, TAB3, C("Preserve (expand to spaces) tabs") }, { "tab0", BITS, O_FLAG, IG|SS, TABDLY, TAB0 }, +# ifdef TAB1 { "tab1", BITS, O_FLAG, US, TABDLY, TAB1 }, +# endif +# ifdef TAB2 { "tab2", BITS, O_FLAG, US, TABDLY, TAB2 }, +# endif { "tab3", BITS, O_FLAG, US, TABDLY, TAB3 }, #endif #ifdef BSDLY
signature.asc
Description: Digital signature