Gentoo Archives: gentoo-commits

From: "Robin H. Johnson (robbat2)" <robbat2@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in eclass: linux-info.eclass
Date: Sun, 06 Sep 2009 23:40:50
Message-Id: E1MkRLk-0004qD-Nk@stork.gentoo.org
1 robbat2 09/09/06 23:40:48
2
3 Modified: linux-info.eclass
4 Log:
5 Bug 28330: Fix two instances where we want any version, not just the sources version.
6
7 Revision Changes Path
8 1.69 eclass/linux-info.eclass
9
10 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/linux-info.eclass?rev=1.69&view=markup
11 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/linux-info.eclass?rev=1.69&content-type=text/plain
12 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/linux-info.eclass?r1=1.68&r2=1.69
13
14 Index: linux-info.eclass
15 ===================================================================
16 RCS file: /var/cvsroot/gentoo-x86/eclass/linux-info.eclass,v
17 retrieving revision 1.68
18 retrieving revision 1.69
19 diff -p -w -b -B -u -u -r1.68 -r1.69
20 --- linux-info.eclass 6 Sep 2009 23:36:04 -0000 1.68
21 +++ linux-info.eclass 6 Sep 2009 23:40:48 -0000 1.69
22 @@ -1,6 +1,6 @@
23 # Copyright 1999-2006 Gentoo Foundation
24 # Distributed under the terms of the GNU General Public License v2
25 -# $Header: /var/cvsroot/gentoo-x86/eclass/linux-info.eclass,v 1.68 2009/09/06 23:36:04 robbat2 Exp $
26 +# $Header: /var/cvsroot/gentoo-x86/eclass/linux-info.eclass,v 1.69 2009/09/06 23:40:48 robbat2 Exp $
27 #
28 # Original author: John Mylchreest <johnm@g.o>
29 # Maintainer: kernel-misc@g.o
30 @@ -354,7 +354,8 @@ linux_chkconfig_string() {
31
32 kernel_is() {
33 # if we haven't determined the version yet, we need to.
34 - get_version
35 + linux-info_get_any_version
36 +
37 local operator test value x=0 y=0 z=0
38
39 case ${1} in
40 @@ -625,7 +626,7 @@ check_extra_config() {
41 local soft_errors_count=0 hard_errors_count=0 config_required=0
42
43 # if we haven't determined the version yet, we need to
44 - get_version
45 + linux-mod_get_any_version
46
47 # Determine if we really need a .config. The only time when we don't need
48 # one is when all of the CONFIG_CHECK options are prefixed with "~".