virtualbox: update to 5.1.16

This commit is contained in:
Jeff Huang 2017-03-09 10:32:40 +00:00
parent 0af204f9f1
commit d75a9b3478
3 changed files with 11 additions and 9 deletions

View File

@ -10,7 +10,7 @@ pkgname=('virtualbox'
'virtualbox-guest-iso'
'virtualbox-ext-vnc'
'virtualbox-ext-oracle')
pkgver=5.1.14
pkgver=5.1.16
pkgrel=1
arch=('x86_64')
url='http://virtualbox.org'
@ -75,8 +75,8 @@ source=("http://download.virtualbox.org/virtualbox/$pkgver/VirtualBox-$pkgver.ta
'cxx11.patch'
'PUEL')
noextract=(VBoxGuestAdditions_$pkgver.iso)
sha256sums=('8267bb026717c6e55237eb798210767d9c703cfcdf01224d9bc26f7dac9f228a'
'1b206b76050dccd3ed979307230f9ddea79551e1c0aba93faee77416733cdc8a'
sha256sums=('78071c3172f3bd3c7981c352c3ae6c6a9c01f6ab24bc0aa7ec79f3528b2291a7'
'2a327e31d5f6283d6dbdc9b32cb586848740fbefa49d96664fe463f88828cfab'
'deb03efa7ad0376aa55a087f2e882afe00935f10b0e7aa853ba9147090d341ec'
'113f9b92141b85df01f1e74d22f01d1f1aa81650eb79b89ceefc3cae20afe2e2'
'2101ebb58233bbfadf3aa74381f22f7e7e508559d2b46387114bc2d8e308554c'
@ -93,7 +93,7 @@ sha256sums=('8267bb026717c6e55237eb798210767d9c703cfcdf01224d9bc26f7dac9f228a'
'7d2da8fe10a90f76bbfc80ad1f55df4414f118cd10e10abfb76070326abebd46'
'5d5af2de5b1f1c61ec793503350f2440661cf8fd640f11b8a86f10bce499c0dc'
'6bdb017459532537199c399eefd3d84d8dc7f1786e79997caebd3b6eb5c75d9f'
'f64fc1a660de063817aee8b71feb685a698c12d55c8fcc30f632d77ba3430f12'
'656f5b7d0d74083e0b475c9fbf4b7f05fc5cd98930d18ce8464d1751c028a447'
'50658c653cde4dc43ba73a64c72761d2e996fd8e360fc682aa2844e1ad5b045f')
prepare() {

View File

@ -1,10 +1,12 @@
--- VirtualBox-5.1.2/configure.orig 2016-07-21 23:15:11.118121629 +0100
+++ VirtualBox-5.1.2/configure 2016-07-21 23:17:07.133529084 +0100
@@ -1691,6 +1691,7 @@
--- VirtualBox-5.1.16/configure.orig 2017-03-09 01:15:08.000000000 +0800
+++ VirtualBox-5.1.16/configure 2017-03-09 18:07:33.075191237 +0800
@@ -1694,8 +1694,7 @@
if [ $? -eq 0 ]; then
echo "(Qt5 from pkg-config)" >> $LOG
FLGQT5=`pkg-config Qt5Core --cflags`
+ FLGQT5="-std=gnu++11 $FLGQT5"
- # gcc 4.8 is able to compile with C++11 (see also VBOX_GCC_std in Config.kmk)
- [ $cc_maj -eq 4 -a $cc_min -eq 8 ] && FLGQT5="$FLGQT5 -std=c++11"
+ FLGQT5="$FLGQT5 -std=c++11"
INCQT5=`strip_I "$FLGQT5"`
LIBDIR5=`pkg-config Qt5Core --variable=libdir`
LIBQT5=`pkg-config Qt5Core --libs`

View File

@ -8,7 +8,7 @@ post_upgrade() {
echo '==> Read modules-load.d man page to disable them.'
fi
echo 'Installing VirtualBox host DKMS modules'
vboxver=5.1.14
vboxver=5.1.16
dkms autoinstall /usr/src/vboxhost-${vboxver}_OSE/dkms.conf || return 0
}