Author: sergiomb
Update of /cvs/free/rpms/VirtualBox/devel
In directory old02.ovh.rpmfusion.lan:/tmp/cvs-serv10754
Modified Files:
VirtualBox.spec
Added Files:
VirtualBox-4.2.6-gcc48.patch
Log Message:
* Sat Feb 23 2013 Sérgio Basto <sergio(a)serjux.com> - 4.2.6-6
- Enable build with gcc 4.8 .
VirtualBox-4.2.6-gcc48.patch:
configure | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
--- NEW FILE VirtualBox-4.2.6-gcc48.patch ---
--- ./configure.old 2013-02-04 02:26:52.208143433 +0000
+++ ./configure 2013-02-04 02:27:21.711382692 +0000
@@ -414,9 +414,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 7 \) \
+ -o \( $cc_maj -eq 4 -a $cc_min -gt 8 \) \
-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<8"
+ log_failure "gcc version $cc_ver found, expected gcc 3.x with x>1 or gcc
4.x with 0<x<9"
fail really
else
log_success "found version $cc_ver"
Index: VirtualBox.spec
===================================================================
RCS file: /cvs/free/rpms/VirtualBox/devel/VirtualBox.spec,v
retrieving revision 1.38
retrieving revision 1.39
diff -u -r1.38 -r1.39
--- VirtualBox.spec 11 Feb 2013 02:32:35 -0000 1.38
+++ VirtualBox.spec 23 Feb 2013 12:51:02 -0000 1.39
@@ -27,7 +27,7 @@
Name: VirtualBox
Version: 4.2.6
-Release: 5%{?prerel:.%{prerel}}%{?dist}
+Release: 6%{?prerel:.%{prerel}}%{?dist}
Summary: A general-purpose full virtualizer for PC hardware
Group: Development/Tools
@@ -54,6 +54,7 @@
Patch24: VirtualBox-4.2.0-VBoxGuestLib.patch
Patch25: VirtualBox-4.2.0-xorg111.patch
Patch26: VirtualBox-4.2.4-no-bundles.patch
+Patch27: VirtualBox-4.2.6-gcc48.patch
%if 0%{?fedora} < 16
BuildRequires: kBuild >= 0.1.98
@@ -233,6 +234,7 @@
%patch25 -p1 -b .xorg111
%endif
%patch26 -p1 -b .nobundles
+%patch27 -p1 -b .gcc48
# CRLF->LF
sed -i 's/\r//' COPYING
@@ -619,6 +621,9 @@
%changelog
+* Sat Feb 23 2013 Sérgio Basto <sergio(a)serjux.com> - 4.2.6-6
+- Enable build with gcc 4.8 .
+
* Mon Feb 11 2013 Sérgio Basto <sergio(a)serjux.com> - 4.2.6-5
- Remove if clause in Patch10, may make different src.rpms, my fault, rfbz #2679 .