rpms/kdelibs/devel kdelibs-4.2.0-kjs-gcc44-crash.patch, NONE, 1.1 kdelibs.spec, 1.437, 1.438

Kevin Kofler kkofler at fedoraproject.org
Wed Feb 18 17:18:12 UTC 2009


Author: kkofler

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

Modified Files:
	kdelibs.spec 
Added Files:
	kdelibs-4.2.0-kjs-gcc44-crash.patch 
Log Message:
* Wed Feb 18 2009 Kevin Kofler <Kevin at tigcc.ticalc.org> - 4.2.0-12
- disable strict aliasing in kjs/dtoa.cpp for GCC 4.4 (#485968)

kdelibs-4.2.0-kjs-gcc44-crash.patch:

--- NEW FILE kdelibs-4.2.0-kjs-gcc44-crash.patch ---
diff -ur kdelibs-4.2.0/kjs/dtoa.cpp kdelibs-4.2.0-kjs-gcc44-crash/kjs/dtoa.cpp
--- kdelibs-4.2.0/kjs/dtoa.cpp	2008-05-21 13:06:47.000000000 +0200
+++ kdelibs-4.2.0-kjs-gcc44-crash/kjs/dtoa.cpp	2009-02-18 17:45:52.000000000 +0100
@@ -169,6 +169,10 @@
  *	the result overflows to +-Infinity or underflows to 0.
  */
 
+#if (__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 4))
+#pragma GCC optimize("no-strict-aliasing")
+#endif
+
 #include "dtoa.h"
 #include <config.h>
 


Index: kdelibs.spec
===================================================================
RCS file: /cvs/pkgs/rpms/kdelibs/devel/kdelibs.spec,v
retrieving revision 1.437
retrieving revision 1.438
diff -u -r1.437 -r1.438
--- kdelibs.spec	16 Feb 2009 15:48:00 -0000	1.437
+++ kdelibs.spec	18 Feb 2009 17:17:41 -0000	1.438
@@ -1,6 +1,6 @@
 Summary: K Desktop Environment 4 - Libraries
 Version: 4.2.0
-Release: 11%{?dist}
+Release: 12%{?dist}
 
 %if 0%{?fedora} > 8
 Name: kdelibs
@@ -79,6 +79,8 @@
 Patch20: kdelibs-4.1.70-cmake.patch
 Patch22: kdelibs-4.1.96-cmake.patch
 Patch23: kdelibs-4.2.0-gcc44-workaround.patch
+# disable strict aliasing in kjs/dtoa.cpp for GCC 4.4 (#485968)
+Patch23: kdelibs-4.2.0-kjs-gcc44-crash.patch
 
 # upstream
 # 4.3 branch
@@ -395,6 +397,9 @@
 
 
 %changelog
+* Wed Feb 18 2009 Kevin Kofler <Kevin at tigcc.ticalc.org> - 4.2.0-12
+- disable strict aliasing in kjs/dtoa.cpp for GCC 4.4 (#485968)
+
 * Thu Feb 12 2009 Than Ngo <than at redhat.com> - 4.2.0-11
 - make plasma working better with qt4.5
 




More information about the fedora-extras-commits mailing list