| Summary: | net-dialup/fcdsl-2.6.37 fails to build with 2.6.20-hardened-r2 | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Alan Hourihane <alanh> |
| Component: | New packages | Assignee: | Gentoo Dialup Developers <net-dialup> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | Florian2780, jaervosz |
| Priority: | High | ||
| Version: | 2006.1 | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Attachments: | patch to build with 2.6.20 kernels | ||
|
Description
Alan Hourihane
2007-05-07 18:33:48 UTC
would nice to see a patch for this. I probably will not write one in the close feature. Seems like all usb drivers fail with this error (fcdslusb fcdslslusb fcdslusb2 fcdslusba). Created attachment 123239 [details, diff]
patch to build with 2.6.20 kernels
This patch allows the fcdsl USB drivers to build with 2.6.20 kernels.
the problem with this patch is that it breaks older kernels compiles. It would be cool to have a patch that works for all kernels with #if LINUX_VERSION_CODE like other kernel compat patches In the ebuild you can check for 2.6.20 like this....
# kernel version check
if ! kernel_is eq 2 6 20; then
# apply patch
fi
Remove the ! from that last comment as it reverses the eq... Yeah it is possible but not the best solution. I have applied it anyway kernel_is ge 2 6 20 conditional :) Thank you very much! |