From a300bd55e542a1ee3ef1fb2477d7ae0a4be56affc19d196c3357036cf2d70166 Mon Sep 17 00:00:00 2001 From: Larry Finger Date: Thu, 17 May 2018 23:05:08 +0000 Subject: [PATCH] - Fix build errors with Qt 5.11 - b.s.c. #1093731. File "fixes_for_Qt5.11.patch" added. OBS-URL: https://build.opensuse.org/package/show/Virtualization/virtualbox?expand=0&rev=427 --- fixes_for_Qt5.11.patch | 12 ++++++++++++ virtualbox.changes | 6 ++++++ virtualbox.spec | 3 +++ 3 files changed, 21 insertions(+) create mode 100644 fixes_for_Qt5.11.patch diff --git a/fixes_for_Qt5.11.patch b/fixes_for_Qt5.11.patch new file mode 100644 index 0000000..0f090dc --- /dev/null +++ b/fixes_for_Qt5.11.patch @@ -0,0 +1,12 @@ +Index: VirtualBox-5.2.12/src/VBox/Frontends/VirtualBox/src/precomp_vcc.h +=================================================================== +--- VirtualBox-5.2.12.orig/src/VBox/Frontends/VirtualBox/src/precomp_vcc.h ++++ VirtualBox-5.2.12/src/VBox/Frontends/VirtualBox/src/precomp_vcc.h +@@ -83,6 +83,7 @@ + #include + #include + #include ++#include + #include + #include + #include diff --git a/virtualbox.changes b/virtualbox.changes index c4737d1..b992851 100644 --- a/virtualbox.changes +++ b/virtualbox.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Thu May 17 23:02:29 UTC 2018 - Larry.Finger@gmail.com + +- Fix build errors with Qt 5.11 - b.s.c. #1093731. + File "fixes_for_Qt5.11.patch" added. + ------------------------------------------------------------------- Fri May 11 14:21:59 UTC 2018 - Larry.Finger@lwfinger.net diff --git a/virtualbox.spec b/virtualbox.spec index e702406..099910b 100644 --- a/virtualbox.spec +++ b/virtualbox.spec @@ -118,6 +118,8 @@ Patch121: remove_vbox_video_build.patch # Fix build for kernel 4.17 Patch123: fixes_for_4.17.patch Patch124: gcc8-configure.patch +# Fix build for Qt 5.11 +Patch125: fixes_for_Qt5.11.patch # BuildRequires: LibVNCServer-devel BuildRequires: SDL-devel @@ -412,6 +414,7 @@ as an "extpack" for VirtualBox. The implementation is licensed under GPL. %patch121 -p1 %patch123 -p1 %patch124 -p1 +%patch125 -p1 #copy user manual cp %{SOURCE1} UserManual.pdf