summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wendler <polynomial-c@gentoo.org>2011-04-22 16:09:06 +0000
committerLars Wendler <polynomial-c@gentoo.org>2011-04-22 16:09:06 +0000
commita49d9472197d4af444b9c884d26dca0cf1b12653 (patch)
tree230ba13afc61ee3688f27a933572f263ebba6585 /app-emulation/virtualbox/files
parentPrepare for new ssmtp with optional mta support (bug #289973). exim-4.71 is u... (diff)
downloadhistorical-a49d9472197d4af444b9c884d26dca0cf1b12653.tar.gz
historical-a49d9472197d4af444b9c884d26dca0cf1b12653.tar.bz2
historical-a49d9472197d4af444b9c884d26dca0cf1b12653.zip
Make the configure script accepting gcc-4.6.x (bug #362861)
Package-Manager: portage-2.2.0_alpha30/cvs/Linux x86_64
Diffstat (limited to 'app-emulation/virtualbox/files')
-rw-r--r--app-emulation/virtualbox/files/virtualbox-4.0.4-gcc46.patch14
1 files changed, 14 insertions, 0 deletions
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 0<x<5"
++ log_failure "gcc version $cc_ver found, expected gcc 3.x with x>1 or gcc 4.x with 0<x<=6"
+ fail really
+ else
+ log_success "found version $cc_ver"