forked from ports/contrib
Merge branch '2.6' of crux:/home/crux/scm/ports/contrib into 2.6
This commit is contained in:
commit
5a86732e7d
@ -1,4 +1,5 @@
|
||||
2a2724088f65d0a373a689209bb4d938 60-vboxdrv.rules
|
||||
93b5caaac8571591c21b679987cbe518 VirtualBox-3.1.8-OSE.tar.bz2
|
||||
3b56490a44d7dbd83c5120759e2d6fa9 iasl-length-calculation-fix.patch
|
||||
d365878a0f2f0a738a093a6bc48293be virtualbox
|
||||
362e923d42651f370561b0f9095ea7a5 virtualbox.desktop
|
||||
|
@ -6,15 +6,16 @@
|
||||
|
||||
name=virtualbox
|
||||
version=3.1.8
|
||||
release=1
|
||||
release=2
|
||||
source=(http://download.virtualbox.org/$name/${version%-*}/VirtualBox-${version}-OSE.tar.bz2 \
|
||||
$name 60-vboxdrv.rules $name.desktop)
|
||||
$name 60-vboxdrv.rules $name.desktop iasl-length-calculation-fix.patch)
|
||||
|
||||
build() {
|
||||
# environment value
|
||||
[ ! -z $KERN_DIR ] && KARG="KERN_DIR=$KERN_DIR"
|
||||
|
||||
cd VirtualBox-${version%-*}_OSE
|
||||
patch -p1 -i $SRC/iasl-length-calculation-fix.patch
|
||||
# compile
|
||||
./configure --with-qt4-dir=/usr/share/qt4 \
|
||||
--disable-hardening \
|
||||
|
22
virtualbox/iasl-length-calculation-fix.patch
Normal file
22
virtualbox/iasl-length-calculation-fix.patch
Normal file
@ -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 not 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
|
Loading…
x
Reference in New Issue
Block a user