ffmpeg-6: fix COMPONENT_REVISION
[oi-userland.git] / components / sysutils / virtualbox / patches / 03-m64.patch
blob788c584b1b8cb479a91b479890ae79a09b542659
1 --- VirtualBox-7.0.18/configure.orig
2 +++ VirtualBox-7.0.18/configure
3 @@ -560,8 +560,8 @@
4 fi
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"
9 + CC="$CC -m64"
10 + CXX="$CXX -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
22 else
23 VBOX_LIBPATH_X11 ?= /usr/X11R6/lib
24 endif
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
30 # Good windows shell.
31 VBOX_GOOD_COMSPEC = $(subst \,/,$(SystemRoot))/System32/cmd.exe