rpms/VirtualBox-OSE/devel VirtualBox-OSE-3.2.6-gcc45.patch, NONE,
1.1 VirtualBox-OSE.spec, 1.57, 1.58
Lubomir Rintel
lkundrak at rpmfusion.org
Mon Jul 12 10:04:22 CEST 2010
- Previous message: rpms/VirtualBox-OSE/devel VirtualBox-OSE-3.2.6-vboxkeyboard.patch,
NONE, 1.1 .cvsignore, 1.22, 1.23 VirtualBox-OSE.spec, 1.56,
1.57 sources, 1.22, 1.23
- Next message: rpms/k3b-extras-freeworld/F-13 .cvsignore, 1.9, 1.10 sources, 1.10,
1.11
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: lkundrak
Update of /cvs/free/rpms/VirtualBox-OSE/devel
In directory se02.es.rpmfusion.net:/tmp/cvs-serv28327
Modified Files:
VirtualBox-OSE.spec
Added Files:
VirtualBox-OSE-3.2.6-gcc45.patch
Log Message:
Fix build with gcc 4.5.0
VirtualBox-OSE-3.2.6-gcc45.patch:
PGMAllGst.h | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
--- NEW FILE VirtualBox-OSE-3.2.6-gcc45.patch ---
>From 8c4aca59bd1db2fa278a575e7768ce129a89013d Mon Sep 17 00:00:00 2001
From: Lubomir Rintel <lkundrak at v3.sk>
Date: Mon, 12 Jul 2010 10:01:48 +0200
Subject: [PATCH] Fix build with GCC 4.5.0
Silence an -Wuninitialized warning which causes the build to fail,
because we build with -Werror.
---
src/VBox/VMM/VMMAll/PGMAllGst.h | 7 +++++++
1 files changed, 7 insertions(+), 0 deletions(-)
diff --git a/src/VBox/VMM/VMMAll/PGMAllGst.h b/src/VBox/VMM/VMMAll/PGMAllGst.h
index 749fffd..6aea35a 100644
--- a/src/VBox/VMM/VMMAll/PGMAllGst.h
+++ b/src/VBox/VMM/VMMAll/PGMAllGst.h
@@ -81,6 +81,13 @@ PGM_GST_DECL(int, GetPage)(PVMCPU pVCpu, RTGCPTR GCPtr, uint64_t *pfFlags, PRTGC
X86PDPE Pdpe;
X86PDEPAE Pde = pgmGstGetLongModePDEEx(&pVCpu->pgm.s, GCPtr, &pPml4e, &Pdpe);
+ Pdpe.n.u1Present =
+ Pdpe.lm.u1Write =
+ Pdpe.lm.u1User =
+ Pdpe.lm.u1Accessed =
+ Pdpe.lm.u1NoExecute =
+ 0;
+
Assert(pPml4e);
if (!(pPml4e->n.u1Present & Pdpe.n.u1Present))
return VERR_PAGE_TABLE_NOT_PRESENT;
--
1.7.1.1
Index: VirtualBox-OSE.spec
===================================================================
RCS file: /cvs/free/rpms/VirtualBox-OSE/devel/VirtualBox-OSE.spec,v
retrieving revision 1.57
retrieving revision 1.58
diff -u -r1.57 -r1.58
--- VirtualBox-OSE.spec 12 Jul 2010 06:26:13 -0000 1.57
+++ VirtualBox-OSE.spec 12 Jul 2010 08:04:21 -0000 1.58
@@ -38,6 +38,7 @@
Patch12: VirtualBox-OSE-3.2.0-noansi.patch
Patch13: VirtualBox-OSE-3.2.0-cpuid.patch
Patch14: VirtualBox-OSE-3.2.6-vboxkeyboard.patch
+Patch15: VirtualBox-OSE-3.2.6-gcc45.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@@ -145,6 +146,7 @@
%patch12 -p1 -b .noansi
%patch13 -p1 -b .cpuid
%patch14 -p1 -b .vboxkeyboard
+%patch15 -p1 -b .gcc45
# Remove prebuilt binary tools
rm -rf kBuild
@@ -444,6 +446,7 @@
%changelog
* Mon Jul 12 2010 Lubomir Rintel <lkundrak at v3.sk> - 3.2.6-1
- New release, fix build
+- Fix compile with GCC 4.5
* Thu Jun 17 2010 Lubomir Rintel <lkundrak at v3.sk> - 3.2.4-1
- New release
- Previous message: rpms/VirtualBox-OSE/devel VirtualBox-OSE-3.2.6-vboxkeyboard.patch,
NONE, 1.1 .cvsignore, 1.22, 1.23 VirtualBox-OSE.spec, 1.56,
1.57 sources, 1.22, 1.23
- Next message: rpms/k3b-extras-freeworld/F-13 .cvsignore, 1.9, 1.10 sources, 1.10,
1.11
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the rpmfusion-commits
mailing list