Summary: | x11-terms/kterm-6.2.0-r7 - main.c: error: storage size of deftio isnt known | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Toralf Förster <toralf> |
Component: | Current packages | Assignee: | Gentoo musl team <musl> |
Status: | CONFIRMED --- | ||
Severity: | normal | CC: | cjk |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
emerge-info.txt
emerge-history.txt.bz2 environment etc.clang.tar.bz2 etc.portage.tar.bz2 temp.tar.bz2 x11-terms:kterm-6.2.0-r7:20230101-125139.log Use termios instead of termio with USE_SYSV_TERMIO hack |
Description
Toralf Förster
![]() Created attachment 846398 [details]
emerge-info.txt
Created attachment 846400 [details]
emerge-history.txt.bz2
Created attachment 846402 [details]
environment
Created attachment 846404 [details]
etc.clang.tar.bz2
Created attachment 846406 [details]
etc.portage.tar.bz2
Created attachment 846408 [details]
temp.tar.bz2
Created attachment 846410 [details]
x11-terms:kterm-6.2.0-r7:20230101-125139.log
It seems that 'struct termio' is missing in /usr/include/sys/ioctl.h.
Probably to rewrite 'termio' with 'termios' is formally better because the termio is said as obsolete in termio.h;
> /* Compatible <termio.h> for old `struct termio' ioctl interface.
> This is obsolete; use the POSIX.1 `struct termios' interface
> defined in <termios.h> instead. */
But kterm manyly depends on termio, so USE_SYSV_TERMIO hack is an easier solution, IMHO.
I'm trying to write a patch...
Created attachment 867849 [details, diff]
Use termios instead of termio with USE_SYSV_TERMIO hack
This patch make termios fake termio with the original USE_SYSV_TERMIO hack.
In addition, VDSUSP, that's not implemented in Linux, is commented out with #ifdef-endif.
|