summaryrefslogtreecommitdiff
path: root/time
diff options
context:
space:
mode:
authormarkd <markd@pkgsrc.org>2011-02-17 09:59:58 +0000
committermarkd <markd@pkgsrc.org>2011-02-17 09:59:58 +0000
commit754739c393e405188bfd55f7daf77da8d561b814 (patch)
tree633b91978ea672212d5775fead39ce621e782750 /time
parent064bbd64f4e484482b24b7cf13daa42f8cb43b4d (diff)
downloadpkgsrc-754739c393e405188bfd55f7daf77da8d561b814.tar.gz
Fix build with gcc4.5
Diffstat (limited to 'time')
-rw-r--r--time/rsibreak/distinfo4
-rw-r--r--time/rsibreak/patches/patch-src_CMakeLists.txt15
-rw-r--r--time/rsibreak/patches/patch-src_rsitimer.cpp15
3 files changed, 33 insertions, 1 deletions
diff --git a/time/rsibreak/distinfo b/time/rsibreak/distinfo
index 79a75a23c07..face047ecfd 100644
--- a/time/rsibreak/distinfo
+++ b/time/rsibreak/distinfo
@@ -1,5 +1,7 @@
-$NetBSD: distinfo,v 1.3 2010/04/10 22:10:46 markd Exp $
+$NetBSD: distinfo,v 1.4 2011/02/17 09:59:58 markd Exp $
SHA1 (rsibreak-0.10.tar.bz2) = 39ccbfb4f325f11104910950d7c6d5428127b1e4
RMD160 (rsibreak-0.10.tar.bz2) = 97cb329520145a842f0106408377a3e9b4d189f5
Size (rsibreak-0.10.tar.bz2) = 397732 bytes
+SHA1 (patch-src_CMakeLists.txt) = ce358de0d15fde6ca55f9fca6fd388a10f9f63d6
+SHA1 (patch-src_rsitimer.cpp) = a6031709497f5930f355bbaa698b98f04aab91a8
diff --git a/time/rsibreak/patches/patch-src_CMakeLists.txt b/time/rsibreak/patches/patch-src_CMakeLists.txt
new file mode 100644
index 00000000000..d528364de59
--- /dev/null
+++ b/time/rsibreak/patches/patch-src_CMakeLists.txt
@@ -0,0 +1,15 @@
+$NetBSD: patch-src_CMakeLists.txt,v 1.1 2011/02/17 09:59:58 markd Exp $
+
+Fix build with gcc4.5
+
+--- src/CMakeLists.txt.orig 2009-07-19 13:35:42.000000000 +0000
++++ src/CMakeLists.txt
+@@ -49,7 +49,7 @@ breakcontrol.cpp
+
+ QT4_ADD_DBUS_ADAPTOR( rsibreak_sources
+ org.rsibreak.rsiwidget.xml
+-rsiwidget.h RSIObject::RSIObject
++rsiwidget.h RSIObject
+ )
+
+ # compilation
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 );
+ }