From 122495aaba0de6041cb1e342fac517cab1c41d84d2e38ec3609247b56c0a562d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cristian=20Rodr=C3=ADguez?= Date: Fri, 13 May 2011 03:31:26 +0000 Subject: [PATCH] Accepting request 70161 from home:elvigia:branches:Virtualization - Allow GCC 4.6 to be used OBS-URL: https://build.opensuse.org/request/show/70161 OBS-URL: https://build.opensuse.org/package/show/Virtualization/virtualbox?expand=0&rev=45 --- vbox-gcc46.patch | 11 +++++++++++ virtualbox.changes | 5 +++++ virtualbox.spec | 4 +++- 3 files changed, 19 insertions(+), 1 deletion(-) create mode 100644 vbox-gcc46.patch diff --git a/vbox-gcc46.patch b/vbox-gcc46.patch new file mode 100644 index 0000000..93cdde2 --- /dev/null +++ b/vbox-gcc46.patch @@ -0,0 +1,11 @@ +--- configure.orig ++++ configure +@@ -412,7 +412,7 @@ 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