packages (DEVEL): VirtualBox/VirtualBox.spec, VirtualBox/VirtualBox-warning...

arvenil arvenil at pld-linux.org
Fri Jul 2 00:36:07 CEST 2010


Author: arvenil                      Date: Thu Jul  1 22:36:07 2010 GMT
Module: packages                      Tag: DEVEL
---- Log message:
- added workaround patch for gcc 4.5 warning
- BR: pam-devel

---- Files affected:
packages/VirtualBox:
   VirtualBox.spec (1.279.2.3 -> 1.279.2.4) , VirtualBox-warning_workaround.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/VirtualBox/VirtualBox.spec
diff -u packages/VirtualBox/VirtualBox.spec:1.279.2.3 packages/VirtualBox/VirtualBox.spec:1.279.2.4
--- packages/VirtualBox/VirtualBox.spec:1.279.2.3	Thu Jul  1 22:43:53 2010
+++ packages/VirtualBox/VirtualBox.spec	Fri Jul  2 00:36:01 2010
@@ -54,6 +54,7 @@
 Patch1:		%{pname}-configure-spaces.patch
 Patch2:		%{pname}-export_modules.patch
 Patch3:		%{pname}-VBoxSysInfo.patch
+Patch4:		%{pname}-warning_workaround.patch
 URL:		http://www.virtualbox.org/
 BuildRequires:	rpmbuild(macros) >= 1.535
 %if %{with userspace}
@@ -91,6 +92,7 @@
 BuildRequires:	libxml2-devel >= 2.6.26
 BuildRequires:	libxslt-devel >= 1.1.17
 BuildRequires:	libxslt-progs >= 1.1.17
+BuildRequires:	pam-devel
 BuildRequires:	pkgconfig
 BuildRequires:	pulseaudio-devel >= 0.9.0
 BuildRequires:	python-devel
@@ -364,6 +366,7 @@
 %patch1 -p1
 %patch2 -p1
 %patch3 -p1
+%patch4 -p1
 
 %{__sed} -i -e 's,$VBOX_DOC_PATH,%{_docdir}/%{name}-%{version},' src/VBox/Installer/linux/virtualbox.desktop
 %{__sed} -i -e 's/Categories=.*/Categories=Utility;Emulator;/' src/VBox/Installer/linux/virtualbox.desktop
@@ -768,6 +771,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.279.2.4  2010/07/01 22:36:01  arvenil
+- added workaround patch for gcc 4.5 warning
+- BR: pam-devel
+
 Revision 1.279.2.3  2010/07/01 20:43:53  arvenil
 - up to 3.2.6
 

================================================================
Index: packages/VirtualBox/VirtualBox-warning_workaround.patch
diff -u /dev/null packages/VirtualBox/VirtualBox-warning_workaround.patch:1.1
--- /dev/null	Fri Jul  2 00:36:07 2010
+++ packages/VirtualBox/VirtualBox-warning_workaround.patch	Fri Jul  2 00:36:01 2010
@@ -0,0 +1,15 @@
+http://www.virtualbox.org/ticket/6715
+--- VirtualBox-3.2.0_OSE/src/VBox/VMM/VMMAll/PGMAllGst.h.ark	2010-05-19 14:01:59.307802654 +0200
++++ VirtualBox-3.2.0_OSE/src/VBox/VMM/VMMAll/PGMAllGst.h	2010-05-19 14:07:31.690925013 +0200
+@@ -28,6 +28,11 @@ RT_C_DECLS_END
+ 
+ 
+ 
++#if defined(__GNUC__) && __GNUC__ == 4 && __GNUC_MINOR__ == 5
++    // Work around gcc 4.5 producing warnings when a X86PDPE is constructed
++    // while the Makefiles use -Werror
++#pragma GCC diagnostic warning "-Wuninitialized"
++#endif
+ /**
+  * Gets effective Guest OS page information.
+  *
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/VirtualBox/VirtualBox.spec?r1=1.279.2.3&r2=1.279.2.4&f=u



More information about the pld-cvs-commit mailing list