VirtualBox

Ticket #17579: VirtualBox-5.0.18-xserver_guest.patch

File VirtualBox-5.0.18-xserver_guest.patch, 2.6 KB (added by sergiomb, 7 years ago)

Comments updated

  • ./src/VBox/Additions/common/VBoxGuest/lib/Makefile.kmk

    Copyright (c) 2018 Sérgio Basto
    
    Permission is hereby granted, free of charge, to any person obtaining a copy of
    this software and associated documentation files (the "Software"), to deal in
    the Software without restriction, including without limitation the rights to
    use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
    the Software, and to permit persons to whom the Software is furnished to do so,
    subject to the following conditions:
    
    The above copyright notice and this permission notice shall be included in all
    copies or substantial portions of the Software.
    
    THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
    IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
    FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
    COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
    IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
    CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
    
    The MIT License is to allow be in included in VirtualBox source code.
    
    We don't need compile the very old VBoxGuestR3LibXFree86, latest XFree86/X windows
    server was release is dated of 2007 and because fail to build when
    we unbundle all X11 sources, files like xf86_ansic.h no longer doesn't exist.
    The question is if we use VBOX_USE_SYSTEM_XORG_HEADERS or
    VBOX_USE_SYSTEM_GL_HEADERS or VBOX_NO_LEGACY_XORG_X11
    
    /usr/include/x11 never existed we only have /usr/include/X11 (with capital X),
    IIRC was I that introduce this typo (when we added VBOX_USE_SYSTEM_XORG_HEADERS)
    
    old new LIBRARIES += \  
    4040        VBoxGuestR3LibShared
    4141ifndef VBOX_ONLY_VALIDATIONKIT
    4242 if1of ($(KBUILD_TARGET), freebsd linux netbsd openbsd)
     43 ifndef VBOX_USE_SYSTEM_XORG_HEADERS
    4344  LIBRARIES += \
    4445        VBoxGuestR3LibXFree86
    4546 endif
     47 endif
    4648 if1of ($(KBUILD_TARGET), freebsd linux netbsd openbsd solaris)
    4749  LIBRARIES += \
    4850        VBoxGuestR3LibXOrg
  • ./src/VBox/Additions/x11/vboxvideo/Makefile.kmk

    old new ifdef VBOX_USE_SYSTEM_XORG_HEADERS  
    406406 vboxvideo_drv_system_INCS += \
    407407        $(PATH_ROOT)/src/VBox/Runtime/include \
    408408        $(VBOX_GRAPHICS_INCS) \
    409         /usr/include/x11 \
    410409        /usr/include/xorg \
    411410        /usr/include/pixman-1
    412411 vboxvideo_drv_system_SOURCES := $(vboxvideo_drv_17_SOURCES)

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy