From: | "Samuli Suominen (ssuominen)" <ssuominen@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in kde-misc/rsibreak/files: rsibreak-0.10-gcc45.patch |
Date: | Thu, 24 Jun 2010 17:27:42 |
Message-Id: | 20100624172738.547D62CF4C@corvid.gentoo.org |
1 | ssuominen 10/06/24 17:27:37 |
2 | |
3 | Added: rsibreak-0.10-gcc45.patch |
4 | Log: |
5 | Fix building with GCC 4.5+ wrt #322525 by Markos Chandras. |
6 | (Portage version: 2.2_rc67/cvs/Linux x86_64) |
7 | |
8 | Revision Changes Path |
9 | 1.1 kde-misc/rsibreak/files/rsibreak-0.10-gcc45.patch |
10 | |
11 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/kde-misc/rsibreak/files/rsibreak-0.10-gcc45.patch?rev=1.1&view=markup |
12 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/kde-misc/rsibreak/files/rsibreak-0.10-gcc45.patch?rev=1.1&content-type=text/plain |
13 | |
14 | Index: rsibreak-0.10-gcc45.patch |
15 | =================================================================== |
16 | http://bugs.gentoo.org/322525 |
17 | |
18 | --- src/CMakeLists.txt |
19 | +++ src/CMakeLists.txt |
20 | @@ -49,7 +49,7 @@ breakcontrol.cpp |
21 | |
22 | QT4_ADD_DBUS_ADAPTOR( rsibreak_sources |
23 | org.rsibreak.rsiwidget.xml |
24 | -rsiwidget.h RSIObject::RSIObject |
25 | +rsiwidget.h RSIObject |
26 | ) |
27 | |
28 | # compilation |
29 | --- src/rsitimer.cpp |
30 | +++ src/rsitimer.cpp |
31 | @@ -490,7 +490,7 @@ void RSITimer::readConfig() |
32 | m_ignoreIdleForTinyBreaks = config.readEntry( "IgnoreIdleForTinyBreaks", false ); |
33 | |
34 | config = KGlobal::config()->group( "General" ); |
35 | - m_lastrunDt = config.readEntry( "LastRunTimeStamp", QDateTime::QDateTime() ); |
36 | + m_lastrunDt = config.readEntry( "LastRunTimeStamp", QDateTime() ); |
37 | m_lastrunTiny = config.readEntry( "LastRunTinyLeft", 0 ); |
38 | m_lastrunBig = config.readEntry( "LastRunBigLeft", 0 ); |
39 | } |