diff --git a/UserManual.pdf b/UserManual.pdf index c84c8c0..961a097 100644 --- a/UserManual.pdf +++ b/UserManual.pdf @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:323dd5790a2d2e03a9ab8523332b3166084a8ffbe67dbeafa95bc500974b2a9e -size 4442634 +oid sha256:dcf37730537c761fbe96fb063015d8126055a635bc531cb2ecdfb56aa0f1913c +size 4454881 diff --git a/VirtualBox-5.2.16-patched.tar.bz2 b/VirtualBox-5.2.16-patched.tar.bz2 deleted file mode 100644 index 5512126..0000000 --- a/VirtualBox-5.2.16-patched.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:087e20460ea01c9d529cbcec2ea229c2c7b743a0d1b3b41ee55a607da46263ba -size 83360299 diff --git a/VirtualBox-5.2.18-patched.tar.bz2 b/VirtualBox-5.2.18-patched.tar.bz2 new file mode 100644 index 0000000..ba8e4be --- /dev/null +++ b/VirtualBox-5.2.18-patched.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:240cec92e7198d2f55f68943f8440567c5f416ad88d16008d26f796b0263a623 +size 83375805 diff --git a/fixes_for_4.19.patch b/fixes_for_4.19.patch new file mode 100644 index 0000000..bc175dd --- /dev/null +++ b/fixes_for_4.19.patch @@ -0,0 +1,28 @@ +Index: VirtualBox-5.2.18/src/VBox/Additions/linux/drm/vbox_mode.c +=================================================================== +--- VirtualBox-5.2.18.orig/src/VBox/Additions/linux/drm/vbox_mode.c ++++ VirtualBox-5.2.18/src/VBox/Additions/linux/drm/vbox_mode.c +@@ -536,7 +536,11 @@ static void vbox_set_edid(struct drm_con + for (i = 0; i < EDID_SIZE - 1; ++i) + sum += edid[i]; + edid[EDID_SIZE - 1] = (0x100 - (sum & 0xFF)) & 0xFF; ++#if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 19, 0) ++ drm_connector_update_edid_property(connector, (struct edid *)edid); ++#else + drm_mode_connector_update_edid_property(connector, (struct edid *)edid); ++#endif + } + + static int vbox_get_modes(struct drm_connector *connector) +@@ -703,7 +707,11 @@ static int vbox_connector_init(struct dr + drm_connector_register(connector); + #endif + ++#if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 19, 0) ++ drm_connector_attach_encoder(connector, encoder); ++#else + drm_mode_connector_attach_encoder(connector, encoder); ++#endif + + return 0; + } diff --git a/virtualbox.changes b/virtualbox.changes index 948ab97..e03294e 100644 --- a/virtualbox.changes +++ b/virtualbox.changes @@ -1,3 +1,20 @@ +------------------------------------------------------------------- +Thu Aug 30 16:54:26 UTC 2018 - Larry Finger + +- Fix 2 API changes for kernel 4.19-rc1. File "fixes_for_4.19.patch" is added. + +------------------------------------------------------------------- +Wed Aug 15 16:06:01 UTC 2018 - Larry.Finger@gmail.com + +-VirtualBox 5.2.18 (released August 14 2018) + +This is a maintenance release. The following items were fixed and/or added: + +VMM: See user manual. +VMM: fix loading with recent binutils and self-built versions of VirtualBox (bug #17851) +NAT: fix --nataliasmode sameports which is a valid setting (bug #13000) +VRDP: fixed VM process termination on RDP client disconnect if 3D is enabled for the virtual machine + ------------------------------------------------------------------- Sat Aug 4 14:48:02 UTC 2018 - Larry.Finger@gmail.com diff --git a/virtualbox.spec b/virtualbox.spec index 24edfe4..c9fd420 100644 --- a/virtualbox.spec +++ b/virtualbox.spec @@ -40,7 +40,7 @@ python3 -O -c "import sys, os, compileall; br='%{buildroot}'; compileall.compile %define _udevrulesdir %{_sysconfdir}/udev/rules.d Name: virtualbox # ********* If the VB version exceeds 5.2.x, notify the libvirt maintainer!! -Version: 5.2.16 +Version: 5.2.18 Release: 0 Summary: VirtualBox is an Emulator License: GPL-2.0-or-later @@ -134,6 +134,8 @@ Patch125: fixes_for_Qt5.11.patch Patch126: switch_to_python3.6.patch # Fix 32-bit builds Patch127: fix_32_bit_builds.patch +# Fix API changes for kernel 4.19+ +Patch128: fixes_for_4.19.patch # BuildRequires: LibVNCServer-devel BuildRequires: SDL-devel @@ -435,6 +437,7 @@ as an "extpack" for VirtualBox. The implementation is licensed under GPL. %patch125 -p1 %patch126 -p1 %patch127 -p1 +%patch128 -p1 #copy user manual cp %{SOURCE1} UserManual.pdf