mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-23 00:43:28 +00:00
42d8425b62
- Old VirtualBox OSE 5.2.44 preserved as "-legacy" versions of the ports (repocopied) - Add back extra patch removed in r528258, actually required to build DEBUG kmod - Correctly define WITH_DEBUG when enabling the DEBUG option, so binaries are not stripped Please note that this new version supports only amd64 CPUs. If you need to use older hardware please install the legacy ports. Note that moving VM snapshots across major updates is unsupported, it's strongly suggested to properly shutdown VMs before upgrading, please check UPDATING for further details. This update is the result of work from many people, and thanks to all who gave feedback and tested things. Patch based on work from: Mario Lobo <lobo@bsd.com.br> and jkim. PR: 234878 Submitted by: kunda <chitty_cloud@me.com> Approved by: vbox (implicit) Reviewed by: decke Tested by: jwb, martin ilavsky <ilavsky.martin@gmail.com>, Mario Lobo <lobo@bsd.com.br> Relnotes: https://www.virtualbox.org/wiki/Changelog-6.1 Differential Revision: https://reviews.freebsd.org/D28871
28 lines
890 B
Plaintext
28 lines
890 B
Plaintext
--- src/VBox/Additions/common/VBoxGuest/freebsd/Makefile.orig 2019-04-16 10:09:09 UTC
|
|
+++ src/VBox/Additions/common/VBoxGuest/freebsd/Makefile
|
|
@@ -25,7 +25,7 @@
|
|
#
|
|
KMOD = vboxguest
|
|
|
|
-CFLAGS += -DRT_OS_FREEBSD -DIN_RING0 -DIN_RT_R0 -DIN_SUP_R0 -DVBOX -DRT_WITH_VBOX -Iinclude -I. -Ir0drv -w -DVBGL_VBOXGUEST -DVBOX_WITH_HGCM -DVBOX_WITH_64_BITS_GUESTS
|
|
+CFLAGS += -DRT_OS_FREEBSD -DIN_RING0 -DIN_RT_R0 -DIN_GUEST -DIN_GUEST_R0 -DIN_SUP_R0 -DVBOX -DRT_WITH_VBOX -Iinclude -I. -Ir0drv -w -DVBGL_VBOXGUEST -DVBOX_WITH_HGCM -DVBOX_WITH_64_BITS_GUESTS
|
|
|
|
.if (${MACHINE_ARCH} == "i386")
|
|
CFLAGS += -DRT_ARCH_X86
|
|
@@ -80,6 +80,7 @@ SRCS += \
|
|
handletable.c \
|
|
handletablectx.c \
|
|
once.c \
|
|
+ term.c \
|
|
thread.c
|
|
|
|
.PATH: ${.CURDIR}/common/string
|
|
@@ -147,6 +148,7 @@ SRCS += \
|
|
|
|
.PATH: ${.CURDIR}/r0drv
|
|
SRCS += \
|
|
+ alloc-ef-r0drv.c \
|
|
alloc-r0drv.c \
|
|
initterm-r0drv.c \
|
|
memobj-r0drv.c \
|