virtualbox-ose: udpate to 4.0.12.

This commit is contained in:
Juan RP 2011-07-16 15:14:49 +02:00
parent a405c67ef7
commit 194c629e4a
3 changed files with 2 additions and 168 deletions

View File

@ -1,161 +0,0 @@
Index: Config.kmk
===================================================================
--- foo.orig/Config.kmk (revision 37751)
+++ foo/Config.kmk (revision 37752)
@@ -409,6 +409,9 @@
ifdef VBOX_WITH_USB
VBOX_WITH_VUSB = 1
endif
+ifdef VBOX_WITH_EHCI
+ VBOX_WITH_EHCI_IMPL = 1
+endif
# Enable the hal/sysfs USB code on Linux.
ifeq ($(KBUILD_TARGET),linux)
VBOX_USB_WITH_SYSFS = 1
@@ -920,7 +923,7 @@
#
ifdef VBOX_OSE
VBOX_WITH_VRDP=
- VBOX_WITH_EHCI=
+ VBOX_WITH_EHCI_IMPL=
VBOX_WITH_EXTPACK_PUEL=
VBOX_WITH_PCI_PASSTHROUGH=
VBOX_WITH_OS2_ADDITIONS_BIN=
Index: src/VBox/Devices/Makefile.kmk
===================================================================
--- foo.orig/src/VBox/Devices/Makefile.kmk (revision 37751)
+++ foo/src/VBox/Devices/Makefile.kmk (revision 37752)
@@ -57,8 +57,8 @@
ifdef VBOX_WITH_USB
VBoxDDU_DEFS += VBOX_WITH_USB IN_USBLIB
VBoxDDU_SDKS.win = WINPSDK W2K3DDK
- if defined(VBOX_WITH_EHCI) && !defined(VBOX_WITH_EXTPACK_PUEL)
- VBoxDDU_DEFS += VBOX_WITH_EHCI
+ if defined(VBOX_WITH_EHCI_IMPL) && !defined(VBOX_WITH_EXTPACK_PUEL)
+ VBoxDDU_DEFS += VBOX_WITH_EHCI_IMPL
endif
ifdef VBOX_WITH_NEW_USB_CODE_ON_DARWIN
VBoxDDU_DEFS.darwin += VBOX_WITH_NEW_USB_CODE_ON_DARWIN
@@ -122,8 +122,8 @@
VBoxDD_DEFS = VBOX_ACPI
ifdef VBOX_WITH_USB
VBoxDD_DEFS += VBOX_WITH_USB
- if defined(VBOX_WITH_EHCI) && !defined(VBOX_WITH_EXTPACK_PUEL)
- VBoxDD_DEFS += VBOX_WITH_EHCI
+ if defined(VBOX_WITH_EHCI_IMPL) && !defined(VBOX_WITH_EXTPACK_PUEL)
+ VBoxDD_DEFS += VBOX_WITH_EHCI_IMPL
endif
endif
ifdef VBOX_WITH_VUSB
@@ -448,8 +448,8 @@
endif
ifdef VBOX_WITH_USB
DevicesR3_DEFS += VBOX_WITH_USB
- if defined(VBOX_WITH_EHCI) && !defined(VBOX_WITH_EXTPACK_PUEL)
- DevicesR3_DEFS += VBOX_WITH_EHCI
+ if defined(VBOX_WITH_EHCI_IMPL) && !defined(VBOX_WITH_EXTPACK_PUEL)
+ DevicesR3_DEFS += VBOX_WITH_EHCI_IMPL
DevicesR3_SOURCES += \
USB/DevEHCI.cpp
endif
@@ -603,8 +603,8 @@
ifdef VBOX_WITH_USB
VBoxDDGC_DEFS += VBOX_WITH_USB
- if defined(VBOX_WITH_EHCI) && !defined(VBOX_WITH_EXTPACK_PUEL)
- VBoxDDGC_DEFS += VBOX_WITH_EHCI
+ if defined(VBOX_WITH_EHCI_IMPL) && !defined(VBOX_WITH_EXTPACK_PUEL)
+ VBoxDDGC_DEFS += VBOX_WITH_EHCI_IMPL
VBoxDDGC_SOURCES += \
USB/DevEHCI.cpp
endif
@@ -708,8 +708,8 @@
endif
ifdef VBOX_WITH_USB
VBoxDDR0_DEFS += VBOX_WITH_USB
- if defined(VBOX_WITH_EHCI) && !defined(VBOX_WITH_EXTPACK_PUEL)
- VBoxDDR0_DEFS += VBOX_WITH_EHCI
+ if defined(VBOX_WITH_EHCI_IMPL) && !defined(VBOX_WITH_EXTPACK_PUEL)
+ VBoxDDR0_DEFS += VBOX_WITH_EHCI_IMPL
VBoxDDR0_SOURCES += \
USB/DevEHCI.cpp
endif
Index: src/VBox/Devices/build/VBoxDD.cpp
===================================================================
--- foo.orig/src/VBox/Devices/build/VBoxDD.cpp (revision 37751)
+++ foo/src/VBox/Devices/build/VBoxDD.cpp (revision 37752)
@@ -132,7 +132,7 @@
if (RT_FAILURE(rc))
return rc;
#endif
-#ifdef VBOX_WITH_EHCI
+#ifdef VBOX_WITH_EHCI_IMPL
rc = pCallbacks->pfnRegister(pCallbacks, &g_DeviceEHCI);
if (RT_FAILURE(rc))
return rc;
Index: src/VBox/Devices/testcase/tstDeviceStructSizeRC.cpp
===================================================================
--- foo.orig/src/VBox/Devices/testcase/tstDeviceStructSizeRC.cpp (revision 37751)
+++ foo/src/VBox/Devices/testcase/tstDeviceStructSizeRC.cpp (revision 37752)
@@ -62,7 +62,7 @@
#ifdef VBOX_WITH_USB
# undef LOG_GROUP
# include "../USB/DevOHCI.cpp"
-# ifdef VBOX_WITH_EHCI
+# ifdef VBOX_WITH_EHCI_IMPL
# include "../USB/DevEHCI.cpp"
# endif
#endif
@@ -928,7 +928,7 @@
GEN_CHECK_OFF(OHCI, StatDroppedUrbs);
GEN_CHECK_OFF(OHCI, StatTimer);
# endif
-# ifdef VBOX_WITH_EHCI
+# ifdef VBOX_WITH_EHCI_IMPL
/* USB/DevEHCI.cpp */
GEN_CHECK_SIZE(EHCIHUBPORT);
GEN_CHECK_OFF(EHCIHUBPORT, fReg);
@@ -1005,7 +1005,7 @@
GEN_CHECK_OFF(EHCI, pEOFTimerNoSyncRC);
GEN_CHECK_OFF(EHCI, pEOFTimerNoSyncR3);
GEN_CHECK_OFF(EHCI, pEOFTimerNoSyncR0);
-# endif /* VBOX_WITH_EHCI */
+# endif /* VBOX_WITH_EHCI_IMPL */
#endif /* VBOX_WITH_USB */
/* VMMDev/VBoxDev.cpp */
Index: src/VBox/Devices/testcase/tstDeviceStructSize.cpp
===================================================================
--- foo.orig/src/VBox/Devices/testcase/tstDeviceStructSize.cpp (revision 37751)
+++ foo/src/VBox/Devices/testcase/tstDeviceStructSize.cpp (revision 37752)
@@ -67,7 +67,7 @@
#ifdef VBOX_WITH_USB
# undef LOG_GROUP
# include "../USB/DevOHCI.cpp"
-# ifdef VBOX_WITH_EHCI
+# ifdef VBOX_WITH_EHCI_IMPL
# include "../USB/DevEHCI.cpp"
# endif
#endif
@@ -284,7 +284,7 @@
#endif
//CHECK_MEMBER_ALIGNMENT(E1KSTATE, csTx, 8);
#ifdef VBOX_WITH_USB
-# ifdef VBOX_WITH_EHCI
+# ifdef VBOX_WITH_EHCI_IMPL
CHECK_MEMBER_ALIGNMENT(EHCI, RootHub, 8);
# ifdef VBOX_WITH_STATISTICS
CHECK_MEMBER_ALIGNMENT(EHCI, StatCanceledIsocUrbs, 8);
Index: src/VBox/Devices/testcase/Makefile.kmk
===================================================================
--- foo.orig/src/VBox/Devices/testcase/Makefile.kmk (revision 37751)
+++ foo/src/VBox/Devices/testcase/Makefile.kmk (revision 37752)
@@ -28,7 +28,7 @@
VBOX_DEVICES_TESTS_FEATURES = \
$(if $(VBOX_WITH_RAW_MODE),VBOX_WITH_RAW_MODE,) \
$(if $(VBOX_WITH_USB),VBOX_WITH_USB,) \
- $(if $(VBOX_WITH_EHCI),VBOX_WITH_EHCI,) \
+ $(if $(VBOX_WITH_EHCI_IMPL),VBOX_WITH_EHCI_IMPL,) \
$(if $(VBOX_WITH_AHCI),VBOX_WITH_AHCI,) \
$(if $(VBOX_WITH_E1000),VBOX_WITH_E1000,) \
$(if $(VBOX_WITH_VIRTIO),VBOX_WITH_VIRTIO,) \

View File

@ -1,9 +1,8 @@
# Template file for 'virtualbox-ose'
pkgname=virtualbox-ose
_vbox_distver=4.0.10
_vbox_distver=4.0.12
version=${_vbox_distver}
patch_args="-Np1"
revision=1
wrksrc="VirtualBox-${version}_OSE"
distfiles="http://download.virtualbox.org/virtualbox/$version/VirtualBox-$version.tar.bz2"
build_style=custom-install
@ -11,7 +10,7 @@ short_desc="General-purpose full virtualizer for x86 hardware"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://virtualbox.org"
license="GPL-2, MPL-1.1, CDDL"
checksum=47fca441db321f7b9cfad9beb52dbeb9d52f5270e95e26f2c1ece13e100e474c
checksum=0175c4118af1f9633f33a055a0b0cc0b5a2d95a63b44269af2139eb2fd07e5a9
long_desc="
VirtualBox is a free x86 virtualization solution allowing a wide range of x86
operating systems such as Windows, DOS, BSD or Linux to run on a Linux system."
@ -47,10 +46,7 @@ Add_dependency run ${pkgname}-dkms ">=${version}"
Add_dependency run hicolor-icon-theme
Add_dependency run desktop-file-utils
Add_dependency build libpng-devel
Add_dependency build zlib-devel
Add_dependency build openssl-devel
Add_dependency build libxml2-devel
Add_dependency build libcurl-devel
Add_dependency build SDL-devel
Add_dependency build qt-devel

View File

@ -8,7 +8,6 @@ long_desc="${long_desc}
use of these modules. Kernel sources or headers are required to compile this
module."
revision=1
dkms_modules="virtualbox-ose ${_vbox_distver}"
noarch=yes