1 --- VirtualBox-7.0.18/configure.orig
2 +++ VirtualBox-7.0.18/configure
5 # Solaris sports a 32-bit gcc/g++.
6 if [ "$OS" = "solaris" -a "$BUILD_MACHINE" = "amd64" ]; then
7 - [ "$CC" = "gcc" ] && CC="gcc -m64"
8 - [ "$CXX" = "g++" ] && CXX="g++ -m64"
14 --- VirtualBox-7.0.18/Config.kmk.orig
15 +++ VirtualBox-7.0.18/Config.kmk
16 @@ -2623,13 +2623,13 @@
18 # The X11 LIBPATH. (The amd64 hack is for RHEL4.)
19 ifeq ($(KBUILD_TARGET_ARCH),amd64)
20 - VBOX_LIBPATH_X11 ?= /usr/X11R6/lib64 /usr/X11R6/lib
21 + VBOX_LIBPATH_X11 ?= /usr/X11R6/lib/amd64
23 VBOX_LIBPATH_X11 ?= /usr/X11R6/lib
26 # 32bit X11 LIBPATH for building 32bit guest additions
27 -VBOX_LIBPATH32_X11 ?= /usr/X11R6/lib32 /usr/X11R6/lib
28 +VBOX_LIBPATH32_X11 ?= /usr/X11R6/lib
31 VBOX_GOOD_COMSPEC = $(subst \,/,$(SystemRoot))/System32/cmd.exe