[Pkg-virtualbox-commits] [virtualbox] 01/01: Add module version, from Adam Conrad
Gianfranco Costamagna
locutusofborg-guest at moszumanska.debian.org
Tue Apr 19 14:48:40 UTC 2016
This is an automated email from the git hooks/post-receive script.
locutusofborg-guest pushed a commit to branch master
in repository virtualbox.
commit 22c72957d63258582a09c9c2fcc3714de884af91
Author: Gianfranco Costamagna <costamagnagianfranco at yahoo.it>
Date: Tue Apr 19 16:45:53 2016 +0200
Add module version, from Adam Conrad
---
debian/changelog | 7 +++++++
debian/patches/99-vboxvideo-module-version.patch | 21 +++++++++++++++++++++
debian/patches/series | 1 +
3 files changed, 29 insertions(+)
diff --git a/debian/changelog b/debian/changelog
index 0ea2dfa..e62ace3 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+virtualbox (5.0.18-dfsg-2) unstable; urgency=medium
+
+ [ Adam Conrad ]
+ * Add MODULE_VERSION to the vboxvideo driver, so DKMS can find it.
+
+ -- Gianfranco Costamagna <locutusofborg at debian.org> Tue, 19 Apr 2016 16:45:36 +0200
+
virtualbox (5.0.18-dfsg-1) unstable; urgency=medium
* New upstream release.
diff --git a/debian/patches/99-vboxvideo-module-version.patch b/debian/patches/99-vboxvideo-module-version.patch
new file mode 100644
index 0000000..441900c
--- /dev/null
+++ b/debian/patches/99-vboxvideo-module-version.patch
@@ -0,0 +1,21 @@
+Description: Add MODULE_VERSION to the vboxvideo driver, so DKMS can find it.
+Author: Adam Conrad <adconrad at ubuntu.com>
+
+--- virtualbox-5.0.18-dfsg.orig/src/VBox/Additions/linux/drm/vbox_drv.c
++++ virtualbox-5.0.18-dfsg/src/VBox/Additions/linux/drm/vbox_drv.c
+@@ -55,6 +55,7 @@
+
+ #include <drm/drmP.h>
+ #include <drm/drm_crtc_helper.h>
++#include "version-generated.h"
+
+ int vbox_modeset = -1;
+
+@@ -293,4 +294,7 @@ module_exit(vbox_exit);
+ MODULE_AUTHOR(DRIVER_AUTHOR);
+ MODULE_DESCRIPTION(DRIVER_DESC);
+ MODULE_LICENSE("GPL and additional rights");
++#ifdef MODULE_VERSION
++MODULE_VERSION(VBOX_VERSION_STRING);
++#endif
+
diff --git a/debian/patches/series b/debian/patches/series
index 5b32c83..4e1dd86 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -14,3 +14,4 @@
32-disable-guest-version-check.patch
35-libvdeplug-soname.patch
36-fix-vnc-version-string.patch
+99-vboxvideo-module-version.patch
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-virtualbox/virtualbox.git
More information about the Pkg-virtualbox-commits
mailing list