forked from pool/virtualbox
Accepting request 738719 from Virtualization
OBS-URL: https://build.opensuse.org/request/show/738719 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/virtualbox?expand=0&rev=184
This commit is contained in:
commit
9ae2d47fac
@ -105,3 +105,26 @@ Index: VirtualBox-6.0.12/src/VBox/Additions/linux/drm/vbox_main.c
|
||||
}
|
||||
|
||||
int
|
||||
Index: VirtualBox-6.0.12/include/iprt/cdefs.h
|
||||
===================================================================
|
||||
--- VirtualBox-6.0.12.orig/include/iprt/cdefs.h
|
||||
+++ VirtualBox-6.0.12/include/iprt/cdefs.h
|
||||
@@ -1166,14 +1166,15 @@
|
||||
* Tell the compiler that we're falling through to the next case in a switch.
|
||||
* @sa RT_FALL_THRU */
|
||||
#if RT_GNUC_PREREQ(7, 0)
|
||||
-# define RT_FALL_THROUGH() __attribute__((fallthrough))
|
||||
+# define FALL_THROUGH __attribute__((__fallthrough__))
|
||||
#else
|
||||
-# define RT_FALL_THROUGH() (void)0
|
||||
+# define FALL_THROUGH (void)0
|
||||
#endif
|
||||
/** @def RT_FALL_THRU
|
||||
* Tell the compiler that we're falling thru to the next case in a switch.
|
||||
* @sa RT_FALL_THROUGH */
|
||||
-#define RT_FALL_THRU() RT_FALL_THROUGH()
|
||||
+#define RT_FALL_THRU() FALL_THROUGH
|
||||
+#define RT_FALL_THROUGH() FALL_THROUGH
|
||||
|
||||
|
||||
/** @def RT_IPRT_FORMAT_ATTR
|
||||
|
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Oct 15 20:27:49 UTC 2019 - Larry Finger <Larry.Finger@gmail.com>
|
||||
|
||||
- Kernel 5.4.0-rc3 introduces a change in the way the compiler handles the fallthrough
|
||||
attribute leading to build errors. File "fixes_for_5.4.patch" is modified to build correctly.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Oct 8 16:28:12 UTC 2019 - Stefan Dirsch <sndirsch@suse.com>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user