Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 372463 - oprofile-0.9.6 fix for Linux-3.0[.0]
Summary: oprofile-0.9.6 fix for Linux-3.0[.0]
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal enhancement (vote)
Assignee: Peter Volkov (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-06-21 12:20 UTC by Manuel Lauss
Modified: 2011-06-22 13:52 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.