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

Bug 372463

Summary: oprofile-0.9.6 fix for Linux-3.0[.0]
Product: Gentoo Linux Reporter: Manuel Lauss <manuel.lauss>
Component: New packagesAssignee: Peter Volkov (RETIRED) <pva>
Status: RESOLVED FIXED    
Severity: enhancement CC: joi
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Manuel Lauss 2011-06-21 12:20:26 UTC
The oprofile ebuild doesn't yet know that Linux-3.0 is the same as 2.6
Builds and runs with this patch applied:

--- oprofile-0.9.6-x.ebuild       2011-06-12 15:01:12.000000000 +0200
+++ oprofile-0.9.6.ebuild    2011-06-21 14:13:09.643205298 +0200
@@ -37,7 +37,7 @@ src_compile() {
 
        case ${KV_FULL} in
        2.2.*|2.4.*) myconf="${myconf} --with-linux=${KV_DIR}";;
-       2.5.*|2.6.*) myconf="${myconf} --with-kernel-support";;
+       2.5.*|2.6.*|3.*) myconf="${myconf} --with-kernel-support";;
        *) die "Kernel version '${KV_FULL}' not supported";;
        esac
        econf ${myconf} || die



Reproducible: Always
Comment 1 Peter Volkov (RETIRED) gentoo-dev 2011-06-22 13:52:10 UTC
Thank you. I've added fix into oprofile-0.9.6-r1. Since 3.0 is rather experimental I've avoided revision bump.