summaryrefslogtreecommitdiffstats
path: root/debian/patches/32-disable-guest-version-check.patch
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-11 08:17:34 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-11 08:17:34 +0000
commit8784fb72e8eee3d983d30ac46e0ec3709d4f0ab0 (patch)
tree041e487e60a900d7d85f57307892acb586640822 /debian/patches/32-disable-guest-version-check.patch
parentAdding upstream version 7.0.14-dfsg. (diff)
downloadvirtualbox-8784fb72e8eee3d983d30ac46e0ec3709d4f0ab0.tar.xz
virtualbox-8784fb72e8eee3d983d30ac46e0ec3709d4f0ab0.zip
Adding debian version 7.0.14-dfsg-4.debian/7.0.14-dfsg-4
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/patches/32-disable-guest-version-check.patch')
-rw-r--r--debian/patches/32-disable-guest-version-check.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/debian/patches/32-disable-guest-version-check.patch b/debian/patches/32-disable-guest-version-check.patch
new file mode 100644
index 00000000..e7339240
--- /dev/null
+++ b/debian/patches/32-disable-guest-version-check.patch
@@ -0,0 +1,16 @@
+Description: Disable notifications about outdated guest additions.
+Author: Felix Geyer <fgeyer@debian.org>
+
+Index: virtualbox/src/VBox/Additions/x11/VBoxClient/hostversion.cpp
+===================================================================
+--- virtualbox.orig/src/VBox/Additions/x11/VBoxClient/hostversion.cpp
++++ virtualbox/src/VBox/Additions/x11/VBoxClient/hostversion.cpp
+@@ -94,7 +94,7 @@
+ * Guest Additions. Distributors are encouraged to customise this. */
+ RTStrPrintf(szMsg, sizeof(szMsg), "Your virtual machine is currently running the Guest Additions version %s. Since you are running a version of the Guest Additions provided by the operating system you installed in the virtual machine we recommend that you update it to at least version %s using that system's update features, or alternatively that you remove this version and then install the " VBOX_VENDOR_SHORT " Guest Additions package using the install option from the Devices menu. Please consult the documentation for the operating system you are running to find out how to update or remove the current Guest Additions package.", pszGuestVersion, pszHostVersion);
+ # endif /* VBOX_OSE */
+- rc = VBClShowNotify(szTitle, szMsg);
++ //rc = VBClShowNotify(szTitle, szMsg);
+ }
+
+ /* Store host version to not notify again */