diff --git a/kdelibs-4.1.2-kde#172182-http_cache_cleaner.patch b/kdelibs-4.1.2-kde#172182-http_cache_cleaner.patch new file mode 100644 index 0000000..0672a75 --- /dev/null +++ b/kdelibs-4.1.2-kde#172182-http_cache_cleaner.patch @@ -0,0 +1,23 @@ +diff -up kdelibs-4.1.2/kioslave/http/http_cache_cleaner.cpp.kde#172182 kdelibs-4.1.2/kioslave/http/http_cache_cleaner.cpp +--- kdelibs-4.1.2/kioslave/http/http_cache_cleaner.cpp.kde#172182 2008-05-21 06:07:42.000000000 -0500 ++++ kdelibs-4.1.2/kioslave/http/http_cache_cleaner.cpp 2008-11-07 07:58:32.000000000 -0600 +@@ -50,7 +50,7 @@ int m_maxCacheSize; + static const char appFullName[] = "org.kde.kio_http_cache_cleaner"; + static const char appName[] = "kio_http_cache_cleaner"; + +-static const char version[] = "1.0.0"; ++static const char version[] = "9"; + + struct FileInfo { + QString name; +@@ -73,8 +73,8 @@ public: + }; + + // !START OF SYNC! +-// Keep the following in sync with the cache code in http.cc +-#define CACHE_REVISION "7\n" ++// Keep the following in sync with the cache code in http.cpp ++#define CACHE_REVISION "9\n" + + FileInfo *readEntry( const QString &filename) + { diff --git a/kdelibs.spec b/kdelibs.spec index df4280e..62869e7 100644 --- a/kdelibs.spec +++ b/kdelibs.spec @@ -2,7 +2,7 @@ Summary: K Desktop Environment 4 - Libraries Version: 4.1.3 -Release: 1%{?dist} +Release: 2%{?dist} %if 0%{?fedora} > 8 Name: kdelibs @@ -78,6 +78,7 @@ Patch18: kdelibs-4.1.0-kstandarddirs.patch Patch20: kdelibs-4.1.1-cmake.patch ## upstream patches +Patch103: kdelibs-4.1.2-kde#172182-http_cache_cleaner.patch BuildRequires: qt4-devel >= 4.4.0 Requires: qt4 >= %{_qt4_version} @@ -203,6 +204,8 @@ sed -i -e "s|@@VERSION_RELEASE@@|%{version}-%{release}|" kio/kio/kprotocolmanage %patch20 -p1 -b .cmake ## upstream patches +%patch103 -p1 -b .kde#172182-http_cache_cleaner + %build mkdir -p %{_target_platform} @@ -362,6 +365,9 @@ rm -rf %{buildroot} %changelog +* Fri Nov 07 2008 Rex Dieter 4.1.3-2 +- backport http_cache_cleaner fix (kdebug:172182) + * Tue Nov 4 2008 Lukáš Tinkl 4.1.3-1 - KDE 4.1.3