virtualbox/fix_32_bit_builds.patch
Larry Finger 2ab1b7752d - Add file "fix_32_bit_builds.patch" to fix error in 32-bit builds.
Add file "switch_to_python3.6.patch" to convert to Python3.
  Update warning regarding the security hole in USB passthrough. The text no longer refers
  to an old bugzilla entry (bsc#1097248).
  Script vboxguestconfig.sh is fixed.

OBS-URL: https://build.opensuse.org/package/show/Virtualization/virtualbox?expand=0&rev=432
2018-06-19 17:53:58 +00:00

14 lines
608 B
Diff

Index: VirtualBox-5.2.12/src/VBox/Additions/linux/sharedfolders/utils.c
===================================================================
--- VirtualBox-5.2.12.orig/src/VBox/Additions/linux/sharedfolders/utils.c
+++ VirtualBox-5.2.12/src/VBox/Additions/linux/sharedfolders/utils.c
@@ -50,7 +50,7 @@ static void sf_timespec_from_ftime(RTTIM
RTTimeSpecSetNano(ts, t);
}
#else /* >= 2.6.0 */
-static void sf_ftime_from_timespec(struct timespec *tv, RTTIMESPEC *ts)
+static void sf_ftime_from_timespec(struct timespec64 *tv, RTTIMESPEC *ts)
{
int64_t t = RTTimeSpecGetNano(ts);
int64_t nsec;