Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 308907

Summary: ltmodem fails to compile with kernel-2.6.33
Product: Gentoo Linux Reporter: Roger <rogerx.oss>
Component: New packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED FIXED    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: ltmodem-20090420-r1.ebuild
ltmodem-20090420-kernel-2.6.33.patch

Description Roger 2010-03-10 22:17:49 UTC
There have been some variable renaming/moves/changes.

See additional comments for info along with attached patch(es) & ebuild(s).
Comment 1 Roger 2010-03-10 22:47:41 UTC
Seems the fix was as simple as copying/migrating the patch file for kernel-2.6.32 from Bug #300047. :-/

Making some noise.  Lets get ltmodem-20090420 into the tree.

Here's an updated ebuild migrating the patch from kernel-2.6.32.
Comment 2 Roger 2010-03-10 22:50:18 UTC
Created attachment 223085 [details]
ltmodem-20090420-r1.ebuild

Migrates epatch(es) from 2.6.32 to 2.6.33
Comment 3 Roger 2010-03-10 22:51:35 UTC
Created attachment 223087 [details]
ltmodem-20090420-kernel-2.6.33.patch

Simple copy of kernel-2.6.32 patch to 2.6.33
Comment 4 Roger 2010-03-10 23:20:56 UTC
I pushed these changes back to Bug #300047 after I found the fix was a limitation with the "kernel_is" function within the ebuild.

"kernel_is" doesn't use the "> < =" symbols and only uses "ge, le, ...".

"kernel_is" is undocumented, and seems the docs state a lot more about using ${KV} for checking kernel versions!