summaryrefslogtreecommitdiffstats
path: root/opensuse/core/tdelibs/kdelibs3-gcc-4.1-miscompile.diff
diff options
context:
space:
mode:
Diffstat (limited to 'opensuse/core/tdelibs/kdelibs3-gcc-4.1-miscompile.diff')
-rw-r--r--opensuse/core/tdelibs/kdelibs3-gcc-4.1-miscompile.diff15
1 files changed, 15 insertions, 0 deletions
diff --git a/opensuse/core/tdelibs/kdelibs3-gcc-4.1-miscompile.diff b/opensuse/core/tdelibs/kdelibs3-gcc-4.1-miscompile.diff
new file mode 100644
index 000000000..cad4ceedd
--- /dev/null
+++ b/opensuse/core/tdelibs/kdelibs3-gcc-4.1-miscompile.diff
@@ -0,0 +1,15 @@
+Index: kdecore/kwinmodule.cpp
+===================================================================
+--- kdecore/kwinmodule.cpp.orig
++++ kdecore/kwinmodule.cpp
+@@ -436,7 +436,9 @@ QRect KWinModule::workArea( const QValue
+ if ( strut.bottom > 0 )
+ r.setBottom( r.bottom() - (int) strut.bottom );
+
+- a = a.intersect(r);
++ QRect tmp;
++ tmp = a.intersect(r);
++ a = tmp;
+ }
+ return a;
+ }