[Pkg-virtualbox-commits] [virtualbox] 01/01: Update to fix gcc-5.3 build failure

Gianfranco Costamagna locutusofborg-guest at moszumanska.debian.org
Wed Dec 9 11:01:31 UTC 2015


This is an automated email from the git hooks/post-receive script.

locutusofborg-guest pushed a commit to branch master
in repository virtualbox.

commit 6078a7dc79694763ef5f171aa6a9e690374a14e7
Author: Gianfranco Costamagna <costamagnagianfranco at yahoo.it>
Date:   Wed Dec 9 11:59:47 2015 +0100

    Update to fix gcc-5.3 build failure
---
 debian/changelog                     |  7 +++++++
 debian/patches/fix-gcc-version.patch | 17 +++++++++++++++++
 debian/patches/series                |  1 +
 3 files changed, 25 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index d77363d..e6ee54e 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+virtualbox (5.0.10-dfsg-5) unstable; urgency=medium
+
+  * fix-gcc-version.patch: allow gcc-5.3
+    (Closes: #807466)
+
+ -- Gianfranco Costamagna <locutusofborg at debian.org>  Wed, 09 Dec 2015 09:26:44 +0100
+
 virtualbox (5.0.10-dfsg-4) unstable; urgency=low
 
   * Add vboxweb.service from Sérgio Basto
diff --git a/debian/patches/fix-gcc-version.patch b/debian/patches/fix-gcc-version.patch
new file mode 100644
index 0000000..9cc55ba
--- /dev/null
+++ b/debian/patches/fix-gcc-version.patch
@@ -0,0 +1,17 @@
+Description: gcc version bumps needs changes in configure script.
+Author: Gianfranco Costamagna <locutusofborg at debian.org>
+
+--- virtualbox-5.0.10-dfsg.orig/configure
++++ virtualbox-5.0.10-dfsg/configure
+@@ -430,9 +430,9 @@ check_gcc()
+              -o \( $cc_maj -eq 3 -a $cc_min -lt 2 \) \
+              -o \( $cc_maj -eq 4 -a $cc_min -lt 1 -a "$OS" != "darwin" \) \
+              -o \( $cc_maj -eq 4 -a $cc_min -gt 9 \) \
+-             -o \( $cc_maj -eq 5 -a $cc_min -gt 2 \) \
++             -o \( $cc_maj -eq 5 -a $cc_min -gt 3 \) \
+              -o $cc_maj -gt 5 ]; then
+-        log_failure "gcc version $cc_maj.$cc_min found, expected gcc 3.x with x>1 or gcc 4.x with 0<x<10 or gcc 5.2"
++        log_failure "gcc version $cc_maj.$cc_min found, expected gcc 3.x with x>1 or gcc 4.x with 0<x<10 or gcc 5.3"
+         fail really
+       else
+         log_success "found version $cc_ver"
diff --git a/debian/patches/series b/debian/patches/series
index 5b32c83..fea5247 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-gcc-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