packages: kde4-kdepimlibs/kde4-kdepimlibs-branch.diff, kde4-kdepimlibs/kde4...

arekm arekm at pld-linux.org
Tue Dec 15 20:15:38 CET 2009


Author: arekm                        Date: Tue Dec 15 19:15:38 2009 GMT
Module: packages                      Tag: HEAD
---- Log message:
- rel 3; upstream nntp fix

---- Files affected:
packages/kde4-kdepimlibs:
   kde4-kdepimlibs-branch.diff (1.17 -> 1.18) , kde4-kdepimlibs-nntp.patch (1.1 -> 1.2) , kde4-kdepimlibs.spec (1.101 -> 1.102) 

---- Diffs:

================================================================
Index: packages/kde4-kdepimlibs/kde4-kdepimlibs-branch.diff
diff -u packages/kde4-kdepimlibs/kde4-kdepimlibs-branch.diff:1.17 packages/kde4-kdepimlibs/kde4-kdepimlibs-branch.diff:1.18
--- packages/kde4-kdepimlibs/kde4-kdepimlibs-branch.diff:1.17	Fri Dec 11 11:38:49 2009
+++ packages/kde4-kdepimlibs/kde4-kdepimlibs-branch.diff	Tue Dec 15 20:15:32 2009
@@ -1,7 +1,7 @@
 Index: kcal/incidencebase.cpp
 ===================================================================
---- kcal/incidencebase.cpp	(.../tags/KDE/4.3.4/kdepimlibs)	(wersja 1061285)
-+++ kcal/incidencebase.cpp	(.../branches/KDE/4.3/kdepimlibs)	(wersja 1061285)
+--- kcal/incidencebase.cpp	(.../tags/KDE/4.3.4/kdepimlibs)	(wersja 1062713)
++++ kcal/incidencebase.cpp	(.../branches/KDE/4.3/kdepimlibs)	(wersja 1062713)
 @@ -477,7 +477,9 @@
      d->mUpdatedPending = true;
    } else {
@@ -13,10 +13,25 @@
      }
    }
  }
+Index: kabc/plugins/ldapkio/resourceldapkio.cpp
+===================================================================
+--- kabc/plugins/ldapkio/resourceldapkio.cpp	(.../tags/KDE/4.3.4/kdepimlibs)	(wersja 1062713)
++++ kabc/plugins/ldapkio/resourceldapkio.cpp	(.../branches/KDE/4.3/kdepimlibs)	(wersja 1062713)
+@@ -216,7 +216,9 @@
+     if ( mod ) {
+       tmp += KLDAP::Ldif::assembleLine( QLatin1String( "replace" ), attr ) + '\n';
+     }
+-    tmp += KLDAP::Ldif::assembleLine( attr, value ) + '\n';
++    if ( !value.isEmpty() ) {
++      tmp += KLDAP::Ldif::assembleLine( attr, value ) + '\n';
++    }
+     if ( mod ) {
+       tmp += "-\n";
+     }
 Index: akonadi/CMakeLists.txt
 ===================================================================
---- akonadi/CMakeLists.txt	(.../tags/KDE/4.3.4/kdepimlibs)	(wersja 1061285)
-+++ akonadi/CMakeLists.txt	(.../branches/KDE/4.3/kdepimlibs)	(wersja 1061285)
+--- akonadi/CMakeLists.txt	(.../tags/KDE/4.3.4/kdepimlibs)	(wersja 1062713)
++++ akonadi/CMakeLists.txt	(.../branches/KDE/4.3/kdepimlibs)	(wersja 1062713)
 @@ -144,11 +144,11 @@
  target_link_libraries( akonadi-kde ${KDE4_SOLID_LIBS} ${QT_QTNETWORK_LIBRARY} ${QT_QTDBUS_LIBRARY} ${QT_QTSQL_LIBRARY} ${KDE4_KDEUI_LIBS} ${KDE4_KIO_LIBS} ${AKONADI_COMMON_LIBRARIES} )
  set( AKONADI_KDE_DEPS ${KDE4_KDEUI_LIBS} ${QT_QTDBUS_LIBRARY} ${QT_QTCORE_LIBRARY} )

================================================================
Index: packages/kde4-kdepimlibs/kde4-kdepimlibs-nntp.patch
diff -u packages/kde4-kdepimlibs/kde4-kdepimlibs-nntp.patch:1.1 packages/kde4-kdepimlibs/kde4-kdepimlibs-nntp.patch:1.2
--- packages/kde4-kdepimlibs/kde4-kdepimlibs-nntp.patch:1.1	Fri Dec 11 23:54:37 2009
+++ packages/kde4-kdepimlibs/kde4-kdepimlibs-nntp.patch	Tue Dec 15 20:15:32 2009
@@ -1,11 +1,28 @@
---- kdepimlibs-4.3.4/kioslave/nntp/nntp.cpp.org	2009-06-23 13:14:08.000000000 +0200
-+++ kdepimlibs-4.3.4/kioslave/nntp/nntp.cpp	2009-12-11 23:42:10.259557697 +0100
-@@ -517,7 +517,7 @@
+--- kdepimlibs/kioslave/nntp/nntp.cpp	2009/12/14 22:08:32	1062489
++++ kdepimlibs/kioslave/nntp/nntp.cpp	2009/12/14 22:17:59	1062490
+@@ -517,6 +517,11 @@
    if (firstSerNum == 0)
      return true;
    first = qMax( first, firstSerNum );
--  if ( max > 0 && lastSerNum - first > max )
-+  if ( max > 0 && max <= lastSerNum && lastSerNum - first > max )
++  if ( lastSerNum < first ) { // No need to fetch anything
++    // note: this also ensure that "lastSerNum - first" is not negative
++    // in the next test (in "unsigned long" computation this leads to an overflow
++    return true;
++  }
+   if ( max > 0 && lastSerNum - first > max )
      first = lastSerNum - max + 1;
  
-   DBG << "Starting from serial number: " << first << " of " << firstSerNum << " - " << lastSerNum;
+--- kdepimlibs/kioslave/nntp/nntp.cpp	2009/12/14 22:17:59	1062490
++++ kdepimlibs/kioslave/nntp/nntp.cpp	2009/12/14 22:18:02	1062491
+@@ -628,8 +628,10 @@
+     return true; // no articles selected
+   if ( res == 500 )
+     notSupported = true; // unknwon command
+-  if ( res != 224 )
++  if ( res != 224 ) {
++    unexpected_response( res, "XOVER" );
+     return false;
++  }
+ 
+   long msgSize;
+   QString name;

================================================================
Index: packages/kde4-kdepimlibs/kde4-kdepimlibs.spec
diff -u packages/kde4-kdepimlibs/kde4-kdepimlibs.spec:1.101 packages/kde4-kdepimlibs/kde4-kdepimlibs.spec:1.102
--- packages/kde4-kdepimlibs/kde4-kdepimlibs.spec:1.101	Fri Dec 11 23:54:37 2009
+++ packages/kde4-kdepimlibs/kde4-kdepimlibs.spec	Tue Dec 15 20:15:32 2009
@@ -11,7 +11,7 @@
 Summary(pl.UTF-8):	Biblioteki zarządzania informacjami osobistymi (PIM) dla KDE
 Name:		kde4-kdepimlibs
 Version:	4.3.4
-Release:	2
+Release:	3
 License:	GPL
 Group:		X11/Applications
 Source0:	ftp://ftp.kde.org/pub/kde/%{_state}/%{version}/src/%{orgname}-%{version}.tar.bz2
@@ -276,6 +276,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.102  2009/12/15 19:15:32  arekm
+- rel 3; upstream nntp fix
+
 Revision 1.101  2009/12/11 22:54:37  arekm
 - rel 2; don't overflow when doing XOVER (causes network job hang), bug 218253
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/kde4-kdepimlibs/kde4-kdepimlibs-branch.diff?r1=1.17&r2=1.18&f=u
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/kde4-kdepimlibs/kde4-kdepimlibs-nntp.patch?r1=1.1&r2=1.2&f=u
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/kde4-kdepimlibs/kde4-kdepimlibs.spec?r1=1.101&r2=1.102&f=u



More information about the pld-cvs-commit mailing list