rev 5817 - in trunk/packages/kdebase/debian: . patches

Modestas Vainius modax-guest at alioth.debian.org
Sat Mar 31 16:44:10 UTC 2007


Author: modax-guest
Date: 2007-03-31 16:44:09 +0000 (Sat, 31 Mar 2007)
New Revision: 5817

Added:
   trunk/packages/kdebase/debian/patches/42_window_not_responding_64bit_fix.diff
Modified:
   trunk/packages/kdebase/debian/changelog
Log:
Main fix/patch for #416615

Modified: trunk/packages/kdebase/debian/changelog
===================================================================
--- trunk/packages/kdebase/debian/changelog	2007-03-31 11:02:13 UTC (rev 5816)
+++ trunk/packages/kdebase/debian/changelog	2007-03-31 16:44:09 UTC (rev 5817)
@@ -6,13 +6,16 @@
     should fix nspluginviewer segfaults in some cases on 64bit arches
     (Closes: #410091). Thanks to Matthias Dellweg for the bug analysis and the
     patch.
+  * Use NET::timestampCompare() for comparing timestamps. It takes into
+    account that Higher 32bit of long get lost on 64bit archs due to
+    Xlib 32bit-in-long wrapping (Closes: #416615). Patch No. 42
 
   +++ Changes by Fathi Boudra:
 
   * add autologin overrides, useful for live debian environment. It introduces
     AUTOLOGINAGAIN, AUTOLOGINDELAY, AUTOLOGINLOCKED and AUTOLOGINUSER.
 
- -- Debian Qt/KDE Maintainers <debian-qt-kde at lists.debian.org>  Tue, 27 Feb 2007 20:06:55 +0200
+ -- Debian Qt/KDE Maintainers <debian-qt-kde at lists.debian.org>  Sat, 31 Mar 2007 19:13:22 +0300
 
 kdebase (4:3.5.6.dfsg.1-2) experimental; urgency=low
 

Added: trunk/packages/kdebase/debian/patches/42_window_not_responding_64bit_fix.diff
===================================================================
--- trunk/packages/kdebase/debian/patches/42_window_not_responding_64bit_fix.diff	2007-03-31 11:02:13 UTC (rev 5816)
+++ trunk/packages/kdebase/debian/patches/42_window_not_responding_64bit_fix.diff	2007-03-31 16:44:09 UTC (rev 5817)
@@ -0,0 +1,14 @@
+--- kdebase-3.5.6.dfsg.1/kwin/client.cpp	2007-01-15 13:32:14.000000000 +0200
++++ kdebase-3.5.6.dfsg.1/kwin/client.cpp	2007-03-31 18:56:09.000000000 +0300
+@@ -1108,7 +1108,10 @@
+ 
+ void Client::gotPing( Time timestamp )
+     {
+-    if( timestamp != ping_timestamp )
++    // Use NET::timestampCompare() for comparing timestamps.
++    // Simple != is not enough on 64bit architectures due to 
++    // Xlib wrapping 32bit values in long.
++    if( NET::timestampCompare(timestamp, ping_timestamp) )
+         return;
+     delete ping_timer;
+     ping_timer = NULL;




More information about the pkg-kde-commits mailing list