744d2a31b2
- 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
27 lines
946 B
Plaintext
27 lines
946 B
Plaintext
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 */
|
|
|