From a49d9472197d4af444b9c884d26dca0cf1b12653 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) Package-Manager: portage-2.2.0_alpha30/cvs/Linux x86_64 --- .../virtualbox/files/virtualbox-4.0.4-gcc46.patch | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 app-emulation/virtualbox/files/virtualbox-4.0.4-gcc46.patch (limited to 'app-emulation/virtualbox/files') 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