From fd05401bb312163c378389dd5107e18a3c7ddd00 Mon Sep 17 00:00:00 2001 From: Lars Wendler Date: Fri, 22 Apr 2011 16:09:06 +0000 Subject: Make the configure script accepting gcc-4.6.x (bug #362861) (Portage version: 2.2.0_alpha30/cvs/Linux x86_64) --- app-emulation/virtualbox/ChangeLog | 7 ++++++- .../virtualbox/files/virtualbox-4.0.4-gcc46.patch | 14 ++++++++++++++ app-emulation/virtualbox/virtualbox-4.0.6.ebuild | 5 ++++- 3 files changed, 24 insertions(+), 2 deletions(-) create mode 100644 app-emulation/virtualbox/files/virtualbox-4.0.4-gcc46.patch (limited to 'app-emulation') diff --git a/app-emulation/virtualbox/ChangeLog b/app-emulation/virtualbox/ChangeLog index a97ae11c4cb1..cced63a2725c 100644 --- a/app-emulation/virtualbox/ChangeLog +++ b/app-emulation/virtualbox/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for app-emulation/virtualbox # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-emulation/virtualbox/ChangeLog,v 1.66 2011/04/22 15:44:24 polynomial-c Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-emulation/virtualbox/ChangeLog,v 1.67 2011/04/22 16:09:06 polynomial-c Exp $ + + 22 Apr 2011; Lars Wendler + +files/virtualbox-4.0.4-gcc46.patch, virtualbox-4.0.6.ebuild: + Make the configure script accepting gcc-4.6.x as well. Thanks to Alphat-PC + who reported this in bug #362861. *virtualbox-4.0.6 (22 Apr 2011) diff --git a/app-emulation/virtualbox/files/virtualbox-4.0.4-gcc46.patch b/app-emulation/virtualbox/files/virtualbox-4.0.4-gcc46.patch new file mode 100644 index 000000000000..a9f8077e69e5 --- /dev/null +++ b/app-emulation/virtualbox/files/virtualbox-4.0.4-gcc46.patch @@ -0,0 +1,14 @@ +--- VirtualBox-4.0.4_OSE.orig/configure 2011-02-18 00:30:48.000000000 +0800 ++++ VirtualBox-4.0.4_OSE.orig/configure 2011-04-10 13:37:42.513743178 +0800 +@@ -409,9 +409,9 @@ check_gcc() + elif [ $cc_maj -lt 3 \ + -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 5 \) \ ++ -o \( $cc_maj -eq 4 -a $cc_min -gt 6 \) \ + -o $cc_maj -gt 4 ]; then +- log_failure "gcc version $cc_ver found, expected gcc 3.x with x>1 or gcc 4.x with 01 or gcc 4.x with 0