summaryrefslogtreecommitdiff
path: root/community/virtualbox/gcc46.patch
diff options
context:
space:
mode:
authorroot <root@rshg047.dnsready.net>2011-04-27 22:24:53 +0000
committerroot <root@rshg047.dnsready.net>2011-04-27 22:24:53 +0000
commit18d6577d511b9a1ac36eaae50060133a401e42a3 (patch)
treef681f9444a7a0a95916de40af82d3b805d5fb8d3 /community/virtualbox/gcc46.patch
parent69e1fada8bdc9588d0a3d8bc3403fa809d809a84 (diff)
Wed Apr 27 22:24:53 UTC 2011
Diffstat (limited to 'community/virtualbox/gcc46.patch')
-rw-r--r--community/virtualbox/gcc46.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/community/virtualbox/gcc46.patch b/community/virtualbox/gcc46.patch
new file mode 100644
index 000000000..9786a7287
--- /dev/null
+++ b/community/virtualbox/gcc46.patch
@@ -0,0 +1,15 @@
+diff -Nur VirtualBox-4.0.6_OSE.orig//configure VirtualBox-4.0.6_OSE/configure
+--- VirtualBox-4.0.6_OSE.orig//configure 2011-04-21 03:29:30.000000000 -0700
++++ VirtualBox-4.0.6_OSE/configure 2011-04-21 11:42:57.517216676 -0700
+@@ -412,9 +412,9 @@
+ 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"