From 8c0054a277ff9ee7c7bc28d85d087475a63c19f4 Mon Sep 17 00:00:00 2001 From: "Robin H. Johnson" <robbat2@gentoo.org> Date: Sun, 6 Sep 2009 09:26:34 +0000 Subject: Fix bug #283760 with extended kernel versions. (Portage version: 2.2_rc40/cvs/Linux x86_64) --- sys-fs/udev/ChangeLog | 5 ++++- sys-fs/udev/udev-145-r1.ebuild | 6 ++++-- 2 files changed, 8 insertions(+), 3 deletions(-) (limited to 'sys-fs') diff --git a/sys-fs/udev/ChangeLog b/sys-fs/udev/ChangeLog index 0e4acde42be4..9ad6cb125b3e 100644 --- a/sys-fs/udev/ChangeLog +++ b/sys-fs/udev/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for sys-fs/udev # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-fs/udev/ChangeLog,v 1.486 2009/09/05 20:01:05 robbat2 Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-fs/udev/ChangeLog,v 1.487 2009/09/06 09:26:34 robbat2 Exp $ + + 06 Sep 2009; Robin H. Johnson <robbat2@gentoo.org> udev-145-r1.ebuild: + Fix bug #283760 with extended kernel versions. 05 Sep 2009; Robin H. Johnson <robbat2@gentoo.org> udev-145-r1.ebuild: Make the CONFIG_CHECK checks non-fatal. As udev WILL build without them, diff --git a/sys-fs/udev/udev-145-r1.ebuild b/sys-fs/udev/udev-145-r1.ebuild index bc70ff2cacde..f7b14aa896d8 100644 --- a/sys-fs/udev/udev-145-r1.ebuild +++ b/sys-fs/udev/udev-145-r1.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-fs/udev/udev-145-r1.ebuild,v 1.2 2009/09/05 20:01:05 robbat2 Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-fs/udev/udev-145-r1.ebuild,v 1.3 2009/09/06 09:26:34 robbat2 Exp $ EAPI="1" @@ -86,7 +86,9 @@ pkg_setup() { fi echo - udev_check_KV + # We don't care about the secondary revision of the kernel. + # 2.6.30.4 -> 2.6.30 is all we check + KV_PATCH="${KV_PATCH%.*}" udev_check_KV case "$?" in 2) einfo "Your kernel version (${KV_FULL}) is new enough to run ${P} reliable." ;; 1) ewarn "Your kernel version (${KV_FULL}) is new enough to run ${P}," -- cgit v1.2.3-65-gdbad