biome: 1.9.2 -> 1.9.3
[NixPkgs.git] / pkgs / applications / virtualization / virtualbox / guest-additions / no-legacy-xorg.patch
blob911cf0f0d5f0ff5ad5d3deaa2115e96cacb0a14c
1 # https://www.virtualbox.org/changeset/100258/vbox
2 diff --git a/src/VBox/Additions/linux/Makefile.kmk b/src/VBox/Additions/linux/Makefile.kmk
3 index 0921b3fe619..de9e98b4989 100644
4 --- a/src/VBox/Additions/linux/Makefile.kmk
5 +++ b/src/VBox/Additions/linux/Makefile.kmk
6 @@ -136,23 +136,29 @@ VBOX_LNX_ADD_STRIP_SBIN += \
7 $(if $(VBOX_WITH_LIGHTDM_GREETER),vbox-greeter)
9 VBOX_LNX_ADD_STRIP_MOD = \
10 - vboxmouse_drv_70.so \
11 - vboxmouse_drv_71.so \
12 - vboxmouse_drv_13.so \
13 - vboxmouse_drv_14.so \
14 - vboxmouse_drv_15.so \
15 - vboxmouse_drv_16.so \
16 - $(addsuffix .so,$(filter-out %_32,$(filter vboxvideo_drv_%,$(DLLS)))) \
17 $(if $(VBOX_WITH_PAM),pam_vbox.so,) \
18 mount.vboxsf
20 +ifndef VBOX_NO_LEGACY_XORG_X11
21 + VBOX_LNX_ADD_STRIP_MOD += \
22 + vboxmouse_drv_70.so \
23 + vboxmouse_drv_71.so \
24 + vboxmouse_drv_13.so \
25 + vboxmouse_drv_14.so \
26 + vboxmouse_drv_15.so \
27 + vboxmouse_drv_16.so \
28 + $(addsuffix .so,$(filter-out %_32,$(filter vboxvideo_drv_%,$(DLLS))))
29 +endif
31 VBOX_LNX_ADD_MOD = \
32 98vboxadd-xclient \
33 x11config.sh
35 -VBOX_LNX_ADD_STRIP_OBJ = \
36 - vboxmouse_drv.o \
37 - vboxvideo_drv.o
38 +ifndef VBOX_NO_LEGACY_XORG_X11
39 + VBOX_LNX_ADD_STRIP_OBJ = \
40 + vboxmouse_drv.o \
41 + vboxvideo_drv.o
42 +endif
44 VBOX_LNX_ADD_INIT = \
45 vboxadd \