Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 145157 - app-cdr/cdemu uses deprecated KV_to_int
Summary: app-cdr/cdemu uses deprecated KV_to_int
Status: RESOLVED DUPLICATE of bug 143749
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: SpanKY
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-08-26 03:29 UTC by Simon Stelling (RETIRED)
Modified: 2006-08-26 19:42 UTC (History)
0 users

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 Simon Stelling (RETIRED) gentoo-dev 2006-08-26 03:29:52 UTC
Please consider applying this patch:

--- cdemu-0.7.ebuild    16 May 2005 02:26:09 -0000      1.5
+++ cdemu-0.7.ebuild    26 Aug 2006 10:27:33 -0000
@@ -2,7 +2,7 @@
 # Distributed under the terms of the GNU General Public License v2
 # $Header: /var/cvsroot/gentoo-x86/app-cdr/cdemu/cdemu-0.7.ebuild,v 1.5 2005/05/16 02:26:09 vapier Exp $

-inherit flag-o-matic python
+inherit flag-o-matic python linux-info

 DESCRIPTION="mount bin/cue cd images"
 HOMEPAGE="http://cdemu.org/"
@@ -17,7 +17,7 @@
 RDEPEND="dev-lang/python"

 src_compile() {
-       if [ "${KV:0:3}" == "2.6" ] && [[ `KV_to_int ${KV}` -lt `KV_to_int 2.6.6` ]] ; then
+       if kernel_is 2 6 && kernel_is lt 2 6 6 ; then
                emake KERN_DIR=/usr/src/linux BUILD_GHETTO=yes || die
        else
                env -u ARCH emake KERN_DIR=/usr/src/linux || die
Comment 1 SpanKY gentoo-dev 2006-08-26 19:42:45 UTC

*** This bug has been marked as a duplicate of 143749 ***