summaryrefslogtreecommitdiff
path: root/virtualbox
diff options
context:
space:
mode:
authorJose V Beneyto <sepen@crux.nu>2010-05-27 12:14:31 +0200
committerJose V Beneyto <sepen@crux.nu>2010-05-27 12:14:31 +0200
commitd6017afd2641c2a9d4e56cad067c7d2dc571dd36 (patch)
tree5e45bd5e57f04cbde49efe5f781d0d0e6f75ea52 /virtualbox
parent757cccc17fdb7679068ad32385a56b89545d9567 (diff)
downloadcontrib-d6017afd2641c2a9d4e56cad067c7d2dc571dd36.tar.gz
contrib-d6017afd2641c2a9d4e56cad067c7d2dc571dd36.tar.xz
virtualbox: fixed 1.3.8 compilation (thanks James and Victor)
Diffstat (limited to 'virtualbox')
-rw-r--r--virtualbox/.md5sum1
-rw-r--r--virtualbox/Pkgfile5
-rw-r--r--virtualbox/iasl-length-calculation-fix.patch22
3 files changed, 26 insertions, 2 deletions
diff --git a/virtualbox/.md5sum b/virtualbox/.md5sum
index 1f5d5f5f7..d96a3660f 100644
--- a/virtualbox/.md5sum
+++ b/virtualbox/.md5sum
@@ -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
diff --git a/virtualbox/Pkgfile b/virtualbox/Pkgfile
index cd60a720c..c7348a74f 100644
--- a/virtualbox/Pkgfile
+++ b/virtualbox/Pkgfile
@@ -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 \
diff --git a/virtualbox/iasl-length-calculation-fix.patch b/virtualbox/iasl-length-calculation-fix.patch
new file mode 100644
index 000000000..8e1d86f11
--- /dev/null
+++ b/virtualbox/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 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

Generated by cgit