1
0
forked from pool/virtualbox

Accepting request 56966 from home:mseben

fix build

OBS-URL: https://build.opensuse.org/request/show/56966
OBS-URL: https://build.opensuse.org/package/show/Virtualization/virtualbox?expand=0&rev=13
This commit is contained in:
Michal Seben 2011-01-01 15:49:43 +00:00 committed by Git OBS Bridge
parent 6ee94e2a28
commit fdf7d593f3
3 changed files with 25 additions and 2 deletions

13
vbox-smc-napa.diff Normal file
View File

@ -0,0 +1,13 @@
Index: VirtualBox-4.0.0_OSE/src/VBox/Devices/PC/vbox.dsl
===================================================================
--- VirtualBox-4.0.0_OSE.orig/src/VBox/Devices/PC/vbox.dsl
+++ VirtualBox-4.0.0_OSE/src/VBox/Devices/PC/vbox.dsl
@@ -778,7 +778,7 @@ DefinitionBlock ("DSDT.aml", "DSDT", 1,
Device (SMC)
{
Name (_HID, EisaId ("APP0001"))
- Name (_CID, "smc-napa")
+ Name (_CID, "smcnapa")
Method (_STA, 0, NotSerialized)
{

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Fri Dec 31 22:41:25 UTC 2010 - mseben@gmail.com
- added vbox-smc-napa.diff to fix build
-------------------------------------------------------------------
Thu Dec 30 19:50:12 UTC 2010 - tejas.guruswamy@opensuse.org

View File

@ -78,6 +78,11 @@ Patch2: vbox-vboxadd-init-script.diff
Patch4: vbox-ret-in-nonvoid-fnc.diff
#fix rpath
Patch5: vbox-rpath.diff
#fix build : "Error 4001 - String must be entirely alphanumeric"
#with renaming we probably break some macosx functionality however ths is just quick fix
#file :http://www.virtualbox.org/browser/trunk/src/VBox/Devices/PC/vbox.ds
#see thread : http://lists.freebsd.org/pipermail/freebsd-acpi/2010-October/006795.html
Patch6: vbox-smc-napa.diff
#PATCH-FIX-OPENSUSE implement messagebox (VBoxPermissionMessage app), which is displayed, when user
#try to start VirtualBox and is not memeber of vboxusers group
Patch99: vbox-permissions_warning.diff
@ -195,6 +200,7 @@ Development file for %{name}
##%patch3
%patch4 -p1
%patch5 -p1
%patch6 -p1
%patch99 -p1
%patch100
%patch101
@ -208,10 +214,9 @@ export SUSE_ASNEEDED=0
# turn on vnc feature by hand, this line could be dropped when we could use configure script
echo VBOX_WITH_VNC=1 >> Config.kmk
#
# --with-gcc=/usr/bin/gxx-4.3 do configure and set proper gcc - currently vbox support only gcc<=4.4
# --disable-kmods \ don't build Linux kernel modules - but use SUSE specific way see few lines under
# --with-gcc=/usr/bin/gxx-4.3 do configure and set proper gcc - currently vbox support only gcc<=4.4
# --nofatal try to avoid build fail caused by missing makeself package
# --disable-kmods build virtualbox without kernel modules
./configure \
--disable-kmods \
--with-gcc=/usr/bin/gcc-4.3 \