rpms/VirtualBox-OSE/devel VirtualBox-OSE-4.1.8-gcc47.patch, NONE, 1.1

Sérgio M. Basto sergiomb at rpmfusion.org
Sun Jan 15 01:35:59 CET 2012


Author: sergiomb

Update of /cvs/free/rpms/VirtualBox-OSE/devel
In directory se02.es.rpmfusion.net:/tmp/cvs-serv21163

Added Files:
	VirtualBox-OSE-4.1.8-gcc47.patch 
Log Message:
added VirtualBox-OSE-4.1.8-gcc47.patch


VirtualBox-OSE-4.1.8-gcc47.patch:
 configure |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

--- NEW FILE VirtualBox-OSE-4.1.8-gcc47.patch ---
add by Sérgio M. B.: Allow building with gcc-4.7 same as for gcc-4.6 
From: Lubomir Rintel <lkundrak at v3.sk>
Subject: [PATCH] Allow building with gcc-4.6
--- a/configure
+++ b/configure
@@ -413,9 +413,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 6 \) \
+             -o \( $cc_maj -eq 4 -a $cc_min -gt 7 \) \
              -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<7"
+        log_failure "gcc version $cc_ver found, expected gcc 3.x with x>1 or gcc 4.x with 0<x<8"
         fail really
       else
         log_success "found version $cc_ver"



More information about the rpmfusion-commits mailing list