Summary: | KBD structure name changed from 2.4.x to 2.5.x and 2.6.x causing XFree86 4.3.0 compile failure | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Eric Shattow <lucent> |
Component: | [OLD] Unspecified | Assignee: | Gentoo X packagers <x11> |
Status: | RESOLVED FIXED | ||
Severity: | enhancement | CC: | andrew.kirilenko, david+gentoo.org, jackmort37, m.debruijne, plaes, sami, waters.boyd |
Priority: | High | ||
Version: | 1.4_rc4 | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | Patch that fixes failure to compile X 4.3 on Linux 2.5 kernel includes |
Description
Eric Shattow
2003-03-12 00:13:39 UTC
Created attachment 11671 [details, diff]
Patch that fixes failure to compile X 4.3 on Linux 2.5 kernel includes
The two files are lnx_io.c and lnx_kbd.c
After a short search on google, the XF86 folks seem to be standing tall on
their tailcoats and insist this is a "kernel folks problem".
We need a patch added to the fat Xfree86 patch tarball to change .rate into
.period.
/xc/programs/Xserver/hw/xfree86/os-support/linux/lnx_io.c and lnx_kbd.c
Will the applicable maintainer please add this? Numerous people are starting
to run into this, in particular anyone running a 2.5 kernel. With 2.6
apparently going to be released in about two months, it's prudent to get this
patch in.
I'll take a look at it but I built -r3 with no problem on 2.5.70-mm6. You'd use #ifdef to check versions. naturally, not everyone having a kernel > 2.5.43 has this problem. Since gentoo normally separates your kernel sources from the headers many users will not encounter this error. Only if you unmerge linux-headers and manually add symlinks to /usr/src/linux/include/[asm|asm-generic|linux] and your kernel version is >~ 2.5.43 will your xfree emerge break. use the patch or manually rename all .rate entries to .period in lnx_io.c and lnx_kbd.c *** Bug 22473 has been marked as a duplicate of this bug. *** This should go in the pile of fixes to be included when the linux-headers are moved over to the 2.6 branch. Im aware that this might take a while considering there are quite a few syscalls that have been renamed or taken out of the kernel. Is this still an issue with the 4.3.99 releases as we will probably see XFree 4.4 around the same time we see the 2.6.0 kernel released? *** Bug 36535 has been marked as a duplicate of this bug. *** *** Bug 36683 has been marked as a duplicate of this bug. *** It's not an issue on 4.3.99, and both comments #6 and #7 hold backport patches that should be added to the next patchset. *** Bug 37942 has been marked as a duplicate of this bug. *** This is in -r4. *** Bug 40104 has been marked as a duplicate of this bug. *** |