diff options
author | Lars Wendler <polynomial-c@gentoo.org> | 2011-12-03 17:36:18 +0000 |
---|---|---|
committer | Lars Wendler <polynomial-c@gentoo.org> | 2011-12-03 17:36:18 +0000 |
commit | 3ec3960e5afc6e0be6426f843017b5c2119b15ff (patch) | |
tree | 017c5fd63c3b27fde3af89d864ee0d435e13feae /app-emulation/virtualbox-modules/virtualbox-modules-4.1.6.ebuild | |
parent | alpha/ia64/m68k/s390/sh/sparc stable wrt #389981 (diff) | |
download | historical-3ec3960e5afc6e0be6426f843017b5c2119b15ff.tar.gz historical-3ec3960e5afc6e0be6426f843017b5c2119b15ff.tar.bz2 historical-3ec3960e5afc6e0be6426f843017b5c2119b15ff.zip |
Fixed compilation with kernel-3.2 (bug #389953)
Package-Manager: portage-2.2.0_alpha79/cvs/Linux x86_64
Diffstat (limited to 'app-emulation/virtualbox-modules/virtualbox-modules-4.1.6.ebuild')
-rw-r--r-- | app-emulation/virtualbox-modules/virtualbox-modules-4.1.6.ebuild | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/app-emulation/virtualbox-modules/virtualbox-modules-4.1.6.ebuild b/app-emulation/virtualbox-modules/virtualbox-modules-4.1.6.ebuild index e0bf972fd60a..72a076337c0f 100644 --- a/app-emulation/virtualbox-modules/virtualbox-modules-4.1.6.ebuild +++ b/app-emulation/virtualbox-modules/virtualbox-modules-4.1.6.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-emulation/virtualbox-modules/virtualbox-modules-4.1.6.ebuild,v 1.2 2011/11/06 13:16:19 polynomial-c Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-emulation/virtualbox-modules/virtualbox-modules-4.1.6.ebuild,v 1.3 2011/12/03 17:36:18 polynomial-c Exp $ # XXX: the tarball here is just the kernel modules split out of the binary # package that comes from virtualbox-bin @@ -35,6 +35,9 @@ pkg_setup() { } src_prepare() { + # bug #389953 + epatch "${FILESDIR}"/${PN}-4.1.6-kernel-3.2-vboxpci.patch + 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>:' |