Accepting request 665376 from home:lwfinger:branches:Virtualization
- Fix for latest gcc8 was incomplete. - Fix builds for the latest version of gcc8 and above. File "fixes_for_gcc9" is added. OBS-URL: https://build.opensuse.org/request/show/665376 OBS-URL: https://build.opensuse.org/package/show/Virtualization/virtualbox?expand=0&rev=462
This commit is contained in:
parent
86ec07d5cd
commit
744d2a31b2
26
fixes_for_gcc9
Normal file
26
fixes_for_gcc9
Normal file
@ -0,0 +1,26 @@
|
|||||||
|
Index: VirtualBox-5.2.22/src/VBox/Runtime/r3/linux/semevent-linux.cpp
|
||||||
|
===================================================================
|
||||||
|
--- VirtualBox-5.2.22.orig/src/VBox/Runtime/r3/linux/semevent-linux.cpp
|
||||||
|
+++ VirtualBox-5.2.22/src/VBox/Runtime/r3/linux/semevent-linux.cpp
|
||||||
|
@@ -37,7 +37,7 @@
|
||||||
|
* against glibc < 2.6.
|
||||||
|
*/
|
||||||
|
#include "../posix/semevent-posix.cpp"
|
||||||
|
-asm volatile (".global epoll_pwait");
|
||||||
|
+asm (".global epoll_pwait");
|
||||||
|
|
||||||
|
#else /* glibc < 2.6 */
|
||||||
|
|
||||||
|
Index: VirtualBox-5.2.22/src/VBox/Runtime/r3/linux/semeventmulti-linux.cpp
|
||||||
|
===================================================================
|
||||||
|
--- VirtualBox-5.2.22.orig/src/VBox/Runtime/r3/linux/semeventmulti-linux.cpp
|
||||||
|
+++ VirtualBox-5.2.22/src/VBox/Runtime/r3/linux/semeventmulti-linux.cpp
|
||||||
|
@@ -39,7 +39,7 @@
|
||||||
|
* against glibc < 2.6.
|
||||||
|
*/
|
||||||
|
#include "../posix/semeventmulti-posix.cpp"
|
||||||
|
-asm volatile (".global epoll_pwait");
|
||||||
|
+asm (".global epoll_pwait");
|
||||||
|
|
||||||
|
#else /* glibc < 2.6 */
|
||||||
|
|
@ -1,3 +1,13 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Sun Jan 13 18:31:20 UTC 2019 - Larry Finger <Larry.Finger@gmail.com>
|
||||||
|
|
||||||
|
- Fix for latest gcc8 was incomplete.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat Jan 12 18:01:29 UTC 2019 - Larry Finger <Larry.Finger@gmail.com>
|
||||||
|
|
||||||
|
- Fix builds for the latest version of gcc8 and above. File "fixes_for_gcc9" is added.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sat Dec 8 18:10:09 UTC 2018 - Hans-Peter Jansen <hpj@urpla.net>
|
Sat Dec 8 18:10:09 UTC 2018 - Hans-Peter Jansen <hpj@urpla.net>
|
||||||
|
|
||||||
|
@ -129,8 +129,10 @@ Patch123: switch_to_python3.4+.patch
|
|||||||
Patch124: fix_32_bit_builds.patch
|
Patch124: fix_32_bit_builds.patch
|
||||||
# Fix API changes for kernel 4.20+
|
# Fix API changes for kernel 4.20+
|
||||||
Patch125: fixes_for_4.20.patch
|
Patch125: fixes_for_4.20.patch
|
||||||
# Change default network adapter
|
# Fix changes for gcc9
|
||||||
Patch126: change_default_net_adapter.patch
|
Patch126: fixes_for_gcc9
|
||||||
|
# Fix API changes for kernel 5.0+
|
||||||
|
#Patch127: fixes_for_5.0.patch
|
||||||
#
|
#
|
||||||
BuildRequires: LibVNCServer-devel
|
BuildRequires: LibVNCServer-devel
|
||||||
BuildRequires: SDL-devel
|
BuildRequires: SDL-devel
|
||||||
@ -437,6 +439,7 @@ as an "extpack" for VirtualBox. The implementation is licensed under GPL.
|
|||||||
%patch124 -p1
|
%patch124 -p1
|
||||||
%patch125 -p1
|
%patch125 -p1
|
||||||
%patch126 -p1
|
%patch126 -p1
|
||||||
|
#%patch127 -p1
|
||||||
|
|
||||||
#copy user manual
|
#copy user manual
|
||||||
cp %{SOURCE1} UserManual.pdf
|
cp %{SOURCE1} UserManual.pdf
|
||||||
|
Loading…
Reference in New Issue
Block a user