summaryrefslogtreecommitdiff
path: root/time/rsibreak/patches/patch-src_rsitimer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'time/rsibreak/patches/patch-src_rsitimer.cpp')
-rw-r--r--time/rsibreak/patches/patch-src_rsitimer.cpp15
1 files changed, 15 insertions, 0 deletions
diff --git a/time/rsibreak/patches/patch-src_rsitimer.cpp b/time/rsibreak/patches/patch-src_rsitimer.cpp
new file mode 100644
index 00000000000..af7fb467a3c
--- /dev/null
+++ b/time/rsibreak/patches/patch-src_rsitimer.cpp
@@ -0,0 +1,15 @@
+$NetBSD: patch-src_rsitimer.cpp,v 1.1 2011/02/17 09:59:58 markd Exp $
+
+Fix build with gcc4.5
+
+--- src/rsitimer.cpp.orig 2009-07-19 13:35:42.000000000 +0000
++++ src/rsitimer.cpp
+@@ -490,7 +490,7 @@ void RSITimer::readConfig()
+ m_ignoreIdleForTinyBreaks = config.readEntry( "IgnoreIdleForTinyBreaks", false );
+
+ config = KGlobal::config()->group( "General" );
+- m_lastrunDt = config.readEntry( "LastRunTimeStamp", QDateTime::QDateTime() );
++ m_lastrunDt = config.readEntry( "LastRunTimeStamp", QDateTime() );
+ m_lastrunTiny = config.readEntry( "LastRunTinyLeft", 0 );
+ m_lastrunBig = config.readEntry( "LastRunBigLeft", 0 );
+ }