Date: Wednesday, October 18, 2017 @ 22:05:39
  Author: eworm
Revision: 263305

upgpkg: virtualbox 5.2.0-1

new upstream release

Added:
  virtualbox/trunk/009-include-path.patch
Modified:
  virtualbox/trunk/PKGBUILD
Deleted:
  virtualbox/trunk/003-ogl-include-path.patch

----------------------------+
 003-ogl-include-path.patch |   43 ---------------------
 009-include-path.patch     |   85 +++++++++++++++++++++++++++++++++++++++++++
 PKGBUILD                   |   11 +++--
 3 files changed, 92 insertions(+), 47 deletions(-)

Deleted: 003-ogl-include-path.patch
===================================================================
--- 003-ogl-include-path.patch  2017-10-18 21:45:06 UTC (rev 263304)
+++ 003-ogl-include-path.patch  2017-10-18 22:05:39 UTC (rev 263305)
@@ -1,43 +0,0 @@
-Index: virtualbox/src/VBox/Additions/common/crOpenGL/Makefile.kmk
-===================================================================
---- virtualbox.orig/src/VBox/Additions/common/crOpenGL/Makefile.kmk    
2015-04-02 15:44:24.955670965 +0200
-+++ virtualbox/src/VBox/Additions/common/crOpenGL/Makefile.kmk 2015-04-02 
15:44:24.955670965 +0200
-@@ -67,18 +67,12 @@
- VBoxOGL_INCS           = .
- if1of ($(KBUILD_TARGET), linux solaris freebsd)
-  VBoxOGL_INCS     += \
--      $(VBOX_PATH_X11_ROOT)/libXdamage-1.1 \
--      $(VBOX_PATH_X11_ROOT)/libXcomposite-0.4.0 \
--      $(VBOX_PATH_X11_ROOT)/libXext-1.3.1 \
--      $(VBOX_PATH_X11_ROOT)/libXfixes-4.0.3 \
--      $(VBOX_PATH_X11_ROOT)/damageproto-1.1.0 \
--      $(VBOX_PATH_X11_ROOT)/compositeproto-0.4 \
--      $(VBOX_PATH_X11_ROOT)/fixesproto-4.0 \
--      $(VBOX_PATH_X11_ROOT)/libx11-1.1.5-other \
--      $(VBOX_PATH_X11_ROOT)/xextproto-7.1.1 \
--      $(VBOX_PATH_X11_ROOT)/xproto-7.0.18 \
-+      /usr/include/x11 \
-+      /usr/include/xorg \
-+      /usr/include/pixman-1 \
-       $(VBOX_MESA_INCS) \
--      $(PATH_ROOT)/src/VBox/Additions/x11/x11include/libdrm-2.4.13
-+      /usr/include/drm \
-+      /usr/include/libdrm
-  VBoxOGL_DEFS     += VBOX_NO_NATIVEGL
- endif
- 
-@@ -213,10 +207,10 @@
- 
- if1of ($(KBUILD_TARGET), linux solaris freebsd)
-  VBoxOGL_LIBS += \
--      $(PATH_STAGE_LIB)/libXcomposite.so \
--      $(PATH_STAGE_LIB)/libXdamage.so \
--      $(PATH_STAGE_LIB)/libXfixes.so \
--      $(PATH_STAGE_LIB)/libXext.so
-+      Xcomposite \
-+      Xdamage \
-+      Xfixes \
-+      Xext
-  ifdef VBoxOGL_FAKEDRI
-   ifeq ($(KBUILD_TARGET), freebsd)
-     VBoxOGL_LIBS += \

Added: 009-include-path.patch
===================================================================
--- 009-include-path.patch                              (rev 0)
+++ 009-include-path.patch      2017-10-18 22:05:39 UTC (rev 263305)
@@ -0,0 +1,85 @@
+diff --git a/src/VBox/HostDrivers/Support/linux/Makefile 
b/src/VBox/HostDrivers/Support/linux/Makefile
+index d199047..34d895f 100644
+--- a/src/VBox/HostDrivers/Support/linux/Makefile
++++ b/src/VBox/HostDrivers/Support/linux/Makefile
+@@ -131,7 +131,7 @@ ifdef VBOX_WITH_NATIVE_DTRACE
+  MOD_OBJS += SUPDrvDTrace.o
+ endif
+ 
+-MOD_INCL  = $(addprefix -I$(KBUILD_EXTMOD),/ /include /r0drv/linux)
++MOD_INCL  = $(addprefix -I$(KBUILD_EXTMOD)/vboxdrv,/ /include /r0drv/linux)
+ ifdef VBOX_WITH_NATIVE_DTRACE
+  MOD_INCL += -I/usr/include/linux -I/usr/include
+ endif
+@@ -157,7 +157,7 @@ ifdef VBOX_WITH_TEXT_MODMEM_HACK
+ endif
+ 
+ # build defs
+-MOD_CFLAGS = -include $(KBUILD_EXTMOD)/include/VBox/SUPDrvMangling.h \
++MOD_CFLAGS = -include $(KBUILD_EXTMOD)/vboxdrv/include/VBox/SUPDrvMangling.h \
+       -fno-omit-frame-pointer -fno-pie
+ 
+ include $(obj)/Makefile.include.footer
+diff --git a/src/VBox/HostDrivers/VBoxNetAdp/linux/Makefile 
b/src/VBox/HostDrivers/VBoxNetAdp/linux/Makefile
+index 694cb5c..8487820 100644
+--- a/src/VBox/HostDrivers/VBoxNetAdp/linux/Makefile
++++ b/src/VBox/HostDrivers/VBoxNetAdp/linux/Makefile
+@@ -34,7 +34,7 @@ MOD_OBJS += math/gcc/divdi3.o \
+       math/gcc/umoddi3.o
+ endif
+ 
+-MOD_INCL = $(addprefix -I$(KBUILD_EXTMOD),/ /include /r0drv/linux)
++MOD_INCL = $(addprefix -I$(KBUILD_EXTMOD)/vboxnetadp,/ /include /r0drv/linux)
+ MOD_DEFS = -DRT_OS_LINUX -DIN_RING0 -DIN_RT_R0 -DIN_SUP_R0 -DVBOX \
+           -DRT_WITH_VBOX -DVBOX_WITH_HARDENING \
+           -Wno-declaration-after-statement
+@@ -59,6 +59,6 @@ ifdef VBOX_USE_INSERT_PAGE
+ endif
+ 
+ # build defs
+-MOD_CFLAGS = -include $(KBUILD_EXTMOD)/include/VBox/SUPDrvMangling.h -fno-pie
++MOD_CFLAGS = -include 
$(KBUILD_EXTMOD)/vboxnetadp/include/VBox/SUPDrvMangling.h -fno-pie
+ 
+ include $(obj)/Makefile.include.footer
+diff --git a/src/VBox/HostDrivers/VBoxNetFlt/linux/Makefile 
b/src/VBox/HostDrivers/VBoxNetFlt/linux/Makefile
+index e262c61..ca956d5 100644
+--- a/src/VBox/HostDrivers/VBoxNetFlt/linux/Makefile
++++ b/src/VBox/HostDrivers/VBoxNetFlt/linux/Makefile
+@@ -38,7 +38,7 @@ MOD_OBJS += math/gcc/divdi3.o \
+       math/gcc/umoddi3.o
+ endif
+ 
+-MOD_INCL = $(addprefix -I$(KBUILD_EXTMOD),/ /include /r0drv/linux)
++MOD_INCL = $(addprefix -I$(KBUILD_EXTMOD)/vboxnetflt,/ /include /r0drv/linux)
+ MOD_DEFS = -DRT_OS_LINUX -DIN_RING0 -DIN_RT_R0 \
+       -DIN_SUP_R0 -DVBOX -DRT_WITH_VBOX -DVBOX_WITH_HARDENING \
+       -Wno-declaration-after-statement
+@@ -63,6 +63,6 @@ ifdef VBOX_USE_INSERT_PAGE
+ endif
+ 
+ # build defs
+-MOD_CFLAGS = -include $(KBUILD_EXTMOD)/include/VBox/SUPDrvMangling.h -fno-pie
++MOD_CFLAGS = -include 
$(KBUILD_EXTMOD)/vboxnetflt/include/VBox/SUPDrvMangling.h -fno-pie
+ 
+ include $(obj)/Makefile.include.footer
+diff --git a/src/VBox/HostDrivers/VBoxPci/linux/Makefile 
b/src/VBox/HostDrivers/VBoxPci/linux/Makefile
+index 6b3878a..7b8a8a2 100644
+--- a/src/VBox/HostDrivers/VBoxPci/linux/Makefile
++++ b/src/VBox/HostDrivers/VBoxPci/linux/Makefile
+@@ -38,7 +38,7 @@ MOD_OBJS += math/gcc/divdi3.o       \
+       math/gcc/umoddi3.o
+ endif
+ 
+-MOD_INCL = $(addprefix -I$(KBUILD_EXTMOD),/ /include /r0drv/linux)
++MOD_INCL = $(addprefix -I$(KBUILD_EXTMOD)/vboxpci,/ /include /r0drv/linux)
+ MOD_DEFS = -DRT_OS_LINUX -DIN_RING0 -DIN_RT_R0 -DIN_SUP_R0 -DVBOX \
+       -DRT_WITH_VBOX -DVBOX_WITH_HARDENING
+ ifeq ($(BUILD_TARGET_ARCH),amd64)
+@@ -60,6 +60,6 @@ ifdef VBOX_USE_INSERT_PAGE
+ endif
+ 
+ # build defs
+-MOD_CFLAGS = -include $(KBUILD_EXTMOD)/include/VBox/SUPDrvMangling.h -fno-pie
++MOD_CFLAGS = -include $(KBUILD_EXTMOD)/vboxpci/include/VBox/SUPDrvMangling.h 
-fno-pie
+ 
+ include $(obj)/Makefile.include.footer

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2017-10-18 21:45:06 UTC (rev 263304)
+++ PKGBUILD    2017-10-18 22:05:39 UTC (rev 263305)
@@ -10,7 +10,7 @@
          'virtualbox-guest-utils'
          'virtualbox-guest-utils-nox'
          'virtualbox-ext-vnc')
-pkgver=5.1.30
+pkgver=5.2.0
 pkgrel=1
 arch=('i686' 'x86_64')
 url='http://virtualbox.org'
@@ -64,13 +64,13 @@
         'vboxweb.service'
         'vboxreload'
         '002-dri-driver-path.patch'
-        '003-ogl-include-path.patch'
         '005-gsoap-build.patch'
         '006-rdesktop-vrdp-keymap-path.patch'
         '007-python2-path.patch'
         '008-no-vboxvideo.patch'
+        '009-include-path.patch'
         )
-sha256sums=('6059b0986c9cdacc533177867634a76331ceccdcd46dddd111a50d1c42846d0b'
+sha256sums=('26fc73aee2df18142e4129beed1175fbd7eed69a9b6b150bcff7d9b92f4ade54'
             'deb03efa7ad0376aa55a087f2e882afe00935f10b0e7aa853ba9147090d341ec'
             '113f9b92141b85df01f1e74d22f01d1f1aa81650eb79b89ceefc3cae20afe2e2'
             '2101ebb58233bbfadf3aa74381f22f7e7e508559d2b46387114bc2d8e308554c'
@@ -83,11 +83,11 @@
             'e6e875ef186578b53106d7f6af48e426cdaf1b4e86834f01696b8ef1c685787f'
             '2a9d7748dc58f9d091f791da06b733a696943114f7c0d580fa00a0752eb1d2ac'
             'ee54fe188e27b6e80e2044ea9ba1874db2ca2c026ad04f393be1be69c18d440d'
-            '188014070bce4f6fb9b2535bcd64d066119e182e848c521407ea891ab41a995b'
             '7d2da8fe10a90f76bbfc80ad1f55df4414f118cd10e10abfb76070326abebd46'
             '5d5af2de5b1f1c61ec793503350f2440661cf8fd640f11b8a86f10bce499c0dc'
             '6bdb017459532537199c399eefd3d84d8dc7f1786e79997caebd3b6eb5c75d9f'
             '8b7f241107863f82a5b0ae336aead0b3366a40103ff72dbebf33f54b512a0cbc'
+            '1acc7014bcb3d9ca6da29eed813c3d6e91a688c43f9d93802fd4e3814f67ace4'
             )
 
 prepare() {
@@ -108,6 +108,9 @@
     msg2 'Use our CFLAGS'
     echo "VBOX_GCC_OPT=$CXXFLAGS" >> LocalConfig.kmk
 
+    msg2 'Use system GL headers'
+    echo 'VBOX_USE_SYSTEM_GL_HEADERS=true' >> LocalConfig.kmk
+
     msg2 'Remove gcc version censorship'
     sed -i 's/^check_gcc$/#check_gcc/' configure
 }

Reply via email to