rpms/kdesdk/devel kdesdk-4.2.0-gcc44.patch, NONE, 1.1 kdesdk.spec, 1.134, 1.135

Kevin Kofler kkofler at fedoraproject.org
Thu Feb 19 02:54:28 UTC 2009


Author: kkofler

Update of /cvs/pkgs/rpms/kdesdk/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv8118/devel

Modified Files:
	kdesdk.spec 
Added Files:
	kdesdk-4.2.0-gcc44.patch 
Log Message:
- fix build with GCC 4.4
(The patch will be committed upstream if the build succeeds.)

kdesdk-4.2.0-gcc44.patch:

--- NEW FILE kdesdk-4.2.0-gcc44.patch ---
Index: poxml/antlr/antlr/CharScanner.hpp
===================================================================
--- poxml/antlr/antlr/CharScanner.hpp	(Revision 928150)
+++ poxml/antlr/antlr/CharScanner.hpp	(Arbeitskopie)
@@ -43,6 +43,7 @@
 #include "antlr/BitSet.hpp"
 #include "antlr/LexerSharedInputState.hpp"
 #include <map>
+#include <cstdio>
 
 ANTLR_BEGIN_NAMESPACE(antlr)
 


Index: kdesdk.spec
===================================================================
RCS file: /cvs/pkgs/rpms/kdesdk/devel/kdesdk.spec,v
retrieving revision 1.134
retrieving revision 1.135
diff -u -r1.134 -r1.135
--- kdesdk.spec	19 Feb 2009 02:35:54 -0000	1.134
+++ kdesdk.spec	19 Feb 2009 02:53:57 -0000	1.135
@@ -13,6 +13,8 @@
 # http://websvn.kde.org/?view=rev&revision=924539
 # part of 4.2.1 mass backport: http://websvn.kde.org/?view=rev&revision=928150
 Patch100:       kdesdk-4.2.0-kompare-qt45-crash.patch
+# fix build with GCC 4.4
+Patch101:       kdesdk-4.2.0-gcc44.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 BuildRequires:  kdepimlibs-devel >= %{version}
@@ -87,6 +89,7 @@
 
 # upstream patches
 %patch100 -p0 -b .kompare-qt45-crash
+%patch101 -p0 -b .gcc44
 
 %build
 mkdir -p %{_target_platform}
@@ -222,6 +225,7 @@
 %changelog
 * Thu Feb 19 2009 Kevin Kofler <Kevin at tigcc.ticalc.org> 4.2.0-2
 - fix Kompare crash with Qt 4.5 (kde#182792)
+- fix build with GCC 4.4
 
 * Thu Jan 22 2009 Than Ngo <than at redhat.com> - 4.2.0-1
 - 4.2.0




More information about the scm-commits mailing list