diff options
author | François Andriot <albator78@libertysurf.fr> | 2013-06-24 19:50:32 +0200 |
---|---|---|
committer | François Andriot <albator78@libertysurf.fr> | 2013-06-24 19:50:32 +0200 |
commit | b4359e8bf97799f83dc1ca62744db7cfcc81bc87 (patch) | |
tree | 3346872613490cc467c19e1645d0026c1221bce7 /redhat/tdepim/kdepim-3.5.13-fix_gcc47_compilation.patch | |
parent | 4cc71d79c5718d59078d06c497a56d7c05b41576 (diff) | |
download | tde-packaging-b4359e8bf97799f83dc1ca62744db7cfcc81bc87.tar.gz tde-packaging-b4359e8bf97799f83dc1ca62744db7cfcc81bc87.zip |
RPM Packaging: rename directories
Diffstat (limited to 'redhat/tdepim/kdepim-3.5.13-fix_gcc47_compilation.patch')
-rw-r--r-- | redhat/tdepim/kdepim-3.5.13-fix_gcc47_compilation.patch | 64 |
1 files changed, 64 insertions, 0 deletions
diff --git a/redhat/tdepim/kdepim-3.5.13-fix_gcc47_compilation.patch b/redhat/tdepim/kdepim-3.5.13-fix_gcc47_compilation.patch new file mode 100644 index 000000000..0dc2aae1a --- /dev/null +++ b/redhat/tdepim/kdepim-3.5.13-fix_gcc47_compilation.patch @@ -0,0 +1,64 @@ +diff -uNrb tdepim.orig/kmail/kmsystemtray.cpp tdepim/kmail/kmsystemtray.cpp +--- tdepim.orig/kmail/kmsystemtray.cpp 2012-02-08 20:40:02.000000000 -0600 ++++ tdepim/kmail/kmsystemtray.cpp 2012-04-18 17:27:51.347213673 -0500 +@@ -482,9 +482,9 @@ + /** The number of unread messages in that folder */ + int unread = fldr->countUnread(); + +- TQMap<TQGuardedPtr<KMFolder>, int>::Iterator it = ++ TQMap<TQGuardedPtr<KMFolder>, int>::Iterator unread_it = + mFoldersWithUnread.find(fldr); +- bool unmapped = (it == mFoldersWithUnread.end()); ++ bool unmapped = (unread_it == mFoldersWithUnread.end()); + + /** If the folder is not mapped yet, increment count by numUnread + in folder */ +diff -uNrb tdepim.orig/korganizer/korgac/alarmdialog.cpp tdepim/korganizer/korgac/alarmdialog.cpp +--- tdepim.orig/korganizer/korgac/alarmdialog.cpp 2012-02-08 20:40:02.000000000 -0600 ++++ tdepim/korganizer/korgac/alarmdialog.cpp 2012-04-18 17:32:28.668760481 -0500 +@@ -498,9 +498,9 @@ + found = true; + item->mNotified = true; + Alarm::List alarms = incidence->alarms(); +- Alarm::List::ConstIterator it; +- for ( it = alarms.begin(); it != alarms.end(); ++it ) { +- Alarm *alarm = *it; ++ Alarm::List::ConstIterator c_it; ++ for ( c_it = alarms.begin(); c_it != alarms.end(); ++c_it ) { ++ Alarm *alarm = *c_it; + // FIXME: Check whether this should be done for all multiple alarms + if (alarm->type() == Alarm::Procedure) { + // FIXME: Add a message box asking whether the procedure should really be executed +diff -uNrb tdepim.orig/kresources/caldav/resource.cpp tdepim/kresources/caldav/resource.cpp +--- tdepim.orig/kresources/caldav/resource.cpp 2012-03-11 12:15:18.000000000 -0500 ++++ tdepim/kresources/caldav/resource.cpp 2012-04-18 17:55:16.219084894 -0500 +@@ -15,6 +15,7 @@ + ========================================================================*/ + + #include <string.h> ++#include <unistd.h> + + #include <tqurl.h> + #include <tqmessagebox.h> +diff -uNrb tdepim.orig/kresources/carddav/resource.cpp tdepim/kresources/carddav/resource.cpp +--- tdepim.orig/kresources/carddav/resource.cpp 2012-03-11 12:15:18.000000000 -0500 ++++ tdepim/kresources/carddav/resource.cpp 2012-04-18 17:55:54.555564703 -0500 +@@ -14,6 +14,7 @@ + ========================================================================*/ + + #include <string.h> ++#include <unistd.h> + + #include <tqurl.h> + #include <tqmessagebox.h> +--- kdepim/libkcal/listbase.h.gcc47 2012-04-25 23:32:57.483879335 +0200 ++++ kdepim/libkcal/listbase.h 2012-04-25 23:33:27.608192801 +0200 +@@ -67,7 +67,7 @@ + + bool removeRef( T *t ) + { +- TQValueListIterator<T *> it = find( t ); ++ TQValueListIterator<T *> it = this->find( t ); + if ( it == TQValueList<T*>::end() ) { + return false; + } else { |