Summary: | x11-base/xfree-4.3.0-r3 won't build against sys-kernel/linux-headers-2.6.0 | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Priit Laes (IRC: plaes) <plaes> |
Component: | [OLD] Unspecified | Assignee: | Gentoo X packagers <x11> |
Status: | RESOLVED DUPLICATE | ||
Severity: | minor | CC: | plasmaroo, tt, xan |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | All | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | Fixes compile with linux-headers 2.6.x |
Description
Priit Laes (IRC: plaes)
2004-01-11 22:21:35 UTC
Created attachment 23864 [details, diff]
Fixes compile with linux-headers 2.6.x
Comment on attachment 23864 [details, diff]
Fixes compile with linux-headers 2.6.x
I'm not sure if it breaks compile with linux-headers-2.4.x, so I suppose it's
good idea to add some check in the ebuild if the patch should be applied(with
2.6headers) or not.
There's a big problem with that patch, as things will break. Can you please change the configure script [ I assume it's autoconf ] and use "AC_CHECK_TYPES" to check what type is used and set a #ifdef if ``period'' is used? Then, do #ifdef HAVE_LINUX_PERIOD ... 2.6 code ... #else ... 2.4 code ... #endif for each line that needs changing... Thanks. This: http://cvsweb.xfree86.org/cvsweb/xc/programs/Xserver/hw/xfree86/os-support/linux/lnx_io.c.diff?r1=3.23&r2=3.24 is a much neater way of doing it which works transparently with 2.4. I'm shifting this over to the XFree folks so they can check over this and commit it in... |