From 31fbbc9624940f1c0ac79fea8d2b7e339e0ecc28 Mon Sep 17 00:00:00 2001 From: beat Date: Fri, 2 Jul 2010 11:06:27 +0000 Subject: - Fix build with X11 support disabled PR: ports/148263 Reported by: Vivek Khera Feature safe: yes --- ...src-VBox-Additions-common-VBoxGuestLib-Makefile.kmk | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 emulators/virtualbox-ose-additions/files/patch-src-VBox-Additions-common-VBoxGuestLib-Makefile.kmk (limited to 'emulators') diff --git a/emulators/virtualbox-ose-additions/files/patch-src-VBox-Additions-common-VBoxGuestLib-Makefile.kmk b/emulators/virtualbox-ose-additions/files/patch-src-VBox-Additions-common-VBoxGuestLib-Makefile.kmk new file mode 100644 index 000000000000..e7c139a307ac --- /dev/null +++ b/emulators/virtualbox-ose-additions/files/patch-src-VBox-Additions-common-VBoxGuestLib-Makefile.kmk @@ -0,0 +1,18 @@ +--- src/VBox/Additions/common/VBoxGuestLib/Makefile.kmk.orig 2010-07-01 14:25:19.000000000 +0200 ++++ src/VBox/Additions/common/VBoxGuestLib/Makefile.kmk 2010-07-01 14:26:07.000000000 +0200 +@@ -136,6 +136,7 @@ + # C library is not available. + # + ## @todo We're quite probably using the wrong template here. ++ifdef VBOX_WITH_X11_ADDITIONS + VBoxGuestR3LibXFree86_TEMPLATE = VBOXGUESTR3LIB + VBoxGuestR3LibXFree86_DEFS = \ + VBOX_WITH_HGCM \ +@@ -159,6 +160,7 @@ + $(VBOX_PATH_X11_XFREE_4_3)/exports/include/X11 + + VBoxGuestR3LibRuntimeXF86.cpp_CXXFLAGS = -Wno-shadow ++endif + + include $(KBUILD_PATH)/subfooter.kmk + -- cgit