[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: FTBFS splitvt 1.6.6 on kfreebsd



On Fri, 18 Mar 2011, Mats Erik Andersson wrote:

fredag den 18 mars 2011 klockan 21:34 skrev Petr Salinger detta:
I mantain splitvt and the last release fails to build on kfreebsd-i386
[0] and on kfreebsd-amd64 [1]. This problem is reported here [2].

Any help with this would be very appreciated :-)

Port it to POSIX <termios.h> ?

The splitvt already supports termio,
so basically convert
ioctl(fd, TCGETA, (char *) &tty_mode)
into
tcgetattr(fd, tty_mode)

[...]

Going back to the package itself, a manually
inserted "-DCOMPAT_43TTY" in the makefile
will allow all binaries to compile. Whether
they act correctly remains to be tested.

COMPAT_43TTY is a kernel option. Per
http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/amd64/conf/GENERIC?rev=1.541;content-type=text%2Fx-cvsweb-markup
it is removed from stock FreeBSD kernel for a year, now; it seems to not be in patches/ for kfreebsd image, so correct functionality is highly unlikely.

-Ben Kaduk


Reply to: