summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGianfranco Costamagna <costamagnagianfranco@yahoo.it>2016-10-19 16:05:12 (GMT)
committerGianfranco Costamagna <costamagnagianfranco@yahoo.it>2016-10-19 16:05:12 (GMT)
commit48c79449c79fb38592140f61101629ba01667d78 (patch)
treeed3a773027be8701fe16b11c9a8c92c9cff7473e
parent07f55815c3905b5a595c1ad2ee50bbc5fc2ccc42 (diff)
-rw-r--r--debian/changelog6
-rw-r--r--debian/patches/fix-build.patch14
-rw-r--r--debian/patches/series1
3 files changed, 21 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog
index adf8a91..1172db0 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+virtualbox (5.1.8-dfsg-2) unstable; urgency=medium
+
+ * Fix a build failure with newer gcc.
+
+ -- Gianfranco Costamagna <locutusofborg@debian.org> Wed, 19 Oct 2016 18:03:27 +0200
+
virtualbox (5.1.8-dfsg-1) unstable; urgency=medium
* New upstream release.
diff --git a/debian/patches/fix-build.patch b/debian/patches/fix-build.patch
new file mode 100644
index 0000000..ba9b8e5
--- /dev/null
+++ b/debian/patches/fix-build.patch
@@ -0,0 +1,14 @@
+Description: Upstream patch to workaround gcc-6 6.2.0-7 build failure
+
+--- virtualbox-5.1.8-dfsg.orig/src/VBox/Main/src-server/linux/HostDnsServiceLinux.cpp
++++ virtualbox-5.1.8-dfsg/src/VBox/Main/src-server/linux/HostDnsServiceLinux.cpp
+@@ -78,8 +78,8 @@ class AutoNotify:public FileDescriptor
+
+ struct InotifyEventWithName
+ {
+- struct inotify_event e;
+ char name[NAME_MAX];
++ struct inotify_event e;
+ };
+
+ HostDnsServiceLinux::~HostDnsServiceLinux()
diff --git a/debian/patches/series b/debian/patches/series
index 5b32c83..9d721a2 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
+fix-build.patch