summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wendler <polynomial-c@gentoo.org>2010-05-11 15:47:18 +0000
committerLars Wendler <polynomial-c@gentoo.org>2010-05-11 15:47:18 +0000
commit39de9b9a0b86d553e1a036265bf4481c49ba7d3a (patch)
treee8d09258889ca95cf9c5a59d21de625e3cf4256f /app-emulation
parentwhitespace (diff)
downloadgentoo-2-39de9b9a0b86d553e1a036265bf4481c49ba7d3a.tar.gz
gentoo-2-39de9b9a0b86d553e1a036265bf4481c49ba7d3a.tar.bz2
gentoo-2-39de9b9a0b86d553e1a036265bf4481c49ba7d3a.zip
Added patch to fix compilation with latest iasl release.
(Portage version: 2.2_rc67/cvs/Linux x86_64)
Diffstat (limited to 'app-emulation')
-rw-r--r--app-emulation/virtualbox-ose/ChangeLog8
-rw-r--r--app-emulation/virtualbox-ose/files/virtualbox-ose-3.1.8-iasl-length-calculation-fix.patch22
-rw-r--r--app-emulation/virtualbox-ose/virtualbox-ose-3.1.8.ebuild5
3 files changed, 33 insertions, 2 deletions
diff --git a/app-emulation/virtualbox-ose/ChangeLog b/app-emulation/virtualbox-ose/ChangeLog
index eef61390d14d..abc45a531b5a 100644
--- a/app-emulation/virtualbox-ose/ChangeLog
+++ b/app-emulation/virtualbox-ose/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for app-emulation/virtualbox-ose
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-emulation/virtualbox-ose/ChangeLog,v 1.50 2010/05/10 13:20:23 polynomial-c Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-emulation/virtualbox-ose/ChangeLog,v 1.51 2010/05/11 15:47:16 polynomial-c Exp $
+
+ 11 May 2010; Lars Wendler <polynomial-c@gentoo.org>
+ virtualbox-ose-3.1.8.ebuild,
+ +files/virtualbox-ose-3.1.8-iasl-length-calculation-fix.patch:
+ Added patch to fix compilation with latest iasl release reported by
+ Ladislav Laska and others.
*virtualbox-ose-3.1.8 (10 May 2010)
diff --git a/app-emulation/virtualbox-ose/files/virtualbox-ose-3.1.8-iasl-length-calculation-fix.patch b/app-emulation/virtualbox-ose/files/virtualbox-ose-3.1.8-iasl-length-calculation-fix.patch
new file mode 100644
index 000000000000..9b7526ffa97a
--- /dev/null
+++ b/app-emulation/virtualbox-ose/files/virtualbox-ose-3.1.8-iasl-length-calculation-fix.patch
@@ -0,0 +1,22 @@
+# http://www.mail-archive.com/freebsd-emulation@freebsd.org/msg00197.html
+
+--- VirtualBox-3.1.8_OSE/src/VBox/Devices/PC/vbox.dsl
++++ VirtualBox-3.1.8_OSE/src/VBox/Devices/PC/vbox.dsl
+@@ -1064,7 +1064,7 @@
+ // (all of low memory space)
+ ResourceProducer, // bit 0 of general flags is 0
+ PosDecode, // positive Decode
+- MinFixed, // Range is fixed
++ MinNotFixed, // Range is fixed
+ MaxFixed, // Range is fixed
+ Cacheable,
+ ReadWrite,
+@@ -1073,7 +1073,7 @@
+
+ 0xffdfffff, // Max = 4GB - 2MB
+ 0x00000000, // Translation
+- 0xdfdfffff, // Range Length (calculated
++ 0x00000000, // Range Length (calculated
+ // dynamically)
+ , // Optional field left blank
+ , // Optional field left blank
diff --git a/app-emulation/virtualbox-ose/virtualbox-ose-3.1.8.ebuild b/app-emulation/virtualbox-ose/virtualbox-ose-3.1.8.ebuild
index bc4e11a19bd0..0209e89ac2bc 100644
--- a/app-emulation/virtualbox-ose/virtualbox-ose-3.1.8.ebuild
+++ b/app-emulation/virtualbox-ose/virtualbox-ose-3.1.8.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-ose/virtualbox-ose-3.1.8.ebuild,v 1.1 2010/05/10 13:20:23 polynomial-c Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-emulation/virtualbox-ose/virtualbox-ose-3.1.8.ebuild,v 1.2 2010/05/11 15:47:16 polynomial-c Exp $
EAPI=2
@@ -111,6 +111,9 @@ src_prepare() {
# unset useless/problematic mesa checks in configure
epatch "${FILESDIR}/${PN}-3.0.0-mesa-check.patch"
+
+ # fix with newer iasl (bug #319127)
+ epatch "${FILESDIR}/${P}-iasl-length-calculation-fix.patch"
}
src_configure() {