summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Lauer <patrick@gentoo.org>2010-02-13 19:00:24 +0000
committerPatrick Lauer <patrick@gentoo.org>2010-02-13 19:00:24 +0000
commit52249d1eed3968fbd76198752c34f12580d9ba45 (patch)
treeb32e7ecdd5cce9deace6708a90afc5393da490b1 /app-emulation/virtualbox-modules
parentalpha/arm/ia64/s390/sh/sparc stable wrt #286525 (diff)
downloadgentoo-2-52249d1eed3968fbd76198752c34f12580d9ba45.tar.gz
gentoo-2-52249d1eed3968fbd76198752c34f12580d9ba45.tar.bz2
gentoo-2-52249d1eed3968fbd76198752c34f12580d9ba45.zip
Compile fix for newer kernels
(Portage version: 2.2_rc62/cvs/Linux x86_64)
Diffstat (limited to 'app-emulation/virtualbox-modules')
-rw-r--r--app-emulation/virtualbox-modules/ChangeLog6
-rw-r--r--app-emulation/virtualbox-modules/virtualbox-modules-3.1.2.ebuild9
2 files changed, 13 insertions, 2 deletions
diff --git a/app-emulation/virtualbox-modules/ChangeLog b/app-emulation/virtualbox-modules/ChangeLog
index 4888d9a6470b..696f86e1b2c6 100644
--- a/app-emulation/virtualbox-modules/ChangeLog
+++ b/app-emulation/virtualbox-modules/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for app-emulation/virtualbox-modules
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-emulation/virtualbox-modules/ChangeLog,v 1.56 2010/01/28 13:12:28 patrick Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-emulation/virtualbox-modules/ChangeLog,v 1.57 2010/02/13 19:00:24 patrick Exp $
+
+ 13 Feb 2010; Patrick Lauer <patrick@gentoo.org>
+ virtualbox-modules-3.1.2.ebuild:
+ Compile fix for newer kernels
*virtualbox-modules-3.1.2 (28 Jan 2010)
diff --git a/app-emulation/virtualbox-modules/virtualbox-modules-3.1.2.ebuild b/app-emulation/virtualbox-modules/virtualbox-modules-3.1.2.ebuild
index a8720977aec3..c9ac4db96bd2 100644
--- a/app-emulation/virtualbox-modules/virtualbox-modules-3.1.2.ebuild
+++ b/app-emulation/virtualbox-modules/virtualbox-modules-3.1.2.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-emulation/virtualbox-modules/virtualbox-modules-3.1.2.ebuild,v 1.1 2010/01/28 13:12:28 patrick Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-emulation/virtualbox-modules/virtualbox-modules-3.1.2.ebuild,v 1.2 2010/02/13 19:00:24 patrick Exp $
# XXX: the tarball here is just the kernel modules split out of the binary
# package that comes from virtualbox-bin
@@ -33,6 +33,13 @@ pkg_setup() {
enewgroup vboxusers
}
+src_prepare() {
+ if kernel_is -ge 2 6 33 ; then
+ # evil patch for new kernels - header moved
+ grep -lR linux/autoconf.h * | xargs sed -i -e 's:<linux/autoconf.h>:<generated/autoconf.h>:'
+ fi
+}
+
src_install() {
linux-mod_src_install