forked from pool/virtualbox
Accepting request 793204 from home:frispete:kernel
Dear Larry, here's a small adjustment, that allows building current virtualbox for newer kernels on older distributions. - apply fixes for kernel 5.6 unconditionally - adjust fixes_for_5.6.patch in such a way, it can be applied unconditionally (in order to support builds for newer kernel with older distributions) OBS-URL: https://build.opensuse.org/request/show/793204 OBS-URL: https://build.opensuse.org/package/show/Virtualization/virtualbox?expand=0&rev=546
This commit is contained in:
parent
999d9ff1ba
commit
78e20f7c06
@ -49,11 +49,11 @@ Index: VirtualBox-6.1.2/include/iprt/time.h
|
||||
+ * time handling macros were hidden. Thus, user- and kernel-space
|
||||
+ * names are different.
|
||||
+ */
|
||||
+#include <linux/time_types.h>
|
||||
+#include <linux/version.h>
|
||||
+#include <linux/time64.h>
|
||||
+#include <linux/ktime.h>
|
||||
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(5, 6, 0)
|
||||
+#include <linux/time_types.h>
|
||||
+#define timespec __kernel_old_timespec
|
||||
+#define ktime_get_ts ktime_get_ts64
|
||||
+#undef time_t
|
||||
|
@ -9,6 +9,13 @@ Thu Apr 9 21:49:36 UTC 2020 - Larry Finger <Larry.Finger@gmail.com>
|
||||
- Makefile in the kernel-host-source package has a typo bug fixed (boo#1168910)
|
||||
and a large number of warnings are fixed.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Apr 5 18:05:53 UTC 2020 - Hans-Peter Jansen <hpj@urpla.net>
|
||||
|
||||
- apply fixes for kernel 5.6 unconditionally
|
||||
- adjust fixes_for_5.6.patch in such a way, it can be applied unconditionally
|
||||
(in order to support builds for newer kernel with older distributions)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Mar 29 19:20:48 UTC 2020 - Larry Finger <Larry.Finger@gmail.com>
|
||||
|
||||
|
@ -462,9 +462,7 @@ as an "extpack" for VirtualBox. The implementation is licensed under GPL.
|
||||
%endif
|
||||
%patch133 -p1
|
||||
%patch134 -p1
|
||||
%if 0%{?suse_version} > 1500
|
||||
%patch135 -p1
|
||||
%endif
|
||||
%patch136 -p1
|
||||
%patch137 -p1
|
||||
%patch138 -p1
|
||||
|
Loading…
Reference in New Issue
Block a user