Hello community, here is the log from the commit of package virtualbox for openSUSE:Factory checked in at 2019-10-21 12:24:54 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/virtualbox (Old) and /work/SRC/openSUSE:Factory/.virtualbox.new.2352 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "virtualbox" Mon Oct 21 12:24:54 2019 rev:184 rq:738719 version:6.0.12 Changes: -------- --- /work/SRC/openSUSE:Factory/virtualbox/virtualbox.changes 2019-10-10 11:50:24.615804543 +0200 +++ /work/SRC/openSUSE:Factory/.virtualbox.new.2352/virtualbox.changes 2019-10-21 12:25:03.491733352 +0200 @@ -1,0 +2,6 @@ +Tue Oct 15 20:27:49 UTC 2019 - Larry Finger <[email protected]> + +- 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. + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ fixes_for_5.4.patch ++++++ --- /var/tmp/diff_new_pack.RUhHjc/_old 2019-10-21 12:25:08.883739464 +0200 +++ /var/tmp/diff_new_pack.RUhHjc/_new 2019-10-21 12:25:08.883739464 +0200 @@ -105,3 +105,26 @@ } 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
