- Add patch for RH bug #467804 (remove console spew).
This commit is contained in:
parent
733830cb70
commit
70d95c584c
27
evolution-data-server-2.24.1-remove-console-spew.patch
Normal file
27
evolution-data-server-2.24.1-remove-console-spew.patch
Normal file
@ -0,0 +1,27 @@
|
||||
diff -up evolution-data-server-2.24.1/camel/camel-folder-summary.c.remove-console-spew evolution-data-server-2.24.1/camel/camel-folder-summary.c
|
||||
--- evolution-data-server-2.24.1/camel/camel-folder-summary.c.remove-console-spew 2008-10-21 12:50:51.000000000 -0400
|
||||
+++ evolution-data-server-2.24.1/camel/camel-folder-summary.c 2008-10-23 14:45:04.000000000 -0400
|
||||
@@ -827,12 +827,12 @@ remove_cache (CamelSession *session, Cam
|
||||
if (time(NULL) - s->cache_load_time < SUMMARY_CACHE_DROP)
|
||||
return;
|
||||
|
||||
- printf("removing cache for %s %d %p\n", s->folder ? s->folder->full_name : s->summary_path, g_hash_table_size (s->loaded_infos), s->loaded_infos);
|
||||
+ d(printf("removing cache for %s %d %p\n", s->folder ? s->folder->full_name : s->summary_path, g_hash_table_size (s->loaded_infos), s->loaded_infos));
|
||||
#warning "hack. fix it"
|
||||
CAMEL_SUMMARY_LOCK (s, summary_lock);
|
||||
g_hash_table_foreach_remove (s->loaded_infos, (GHRFunc) remove_item, s);
|
||||
CAMEL_SUMMARY_UNLOCK (s, summary_lock);
|
||||
- printf("done .. now %d\n",g_hash_table_size (s->loaded_infos));
|
||||
+ d(printf("done .. now %d\n",g_hash_table_size (s->loaded_infos)));
|
||||
|
||||
s->cache_load_time = time(NULL);
|
||||
|
||||
@@ -1378,7 +1378,7 @@ camel_folder_summary_save_to_db (CamelFo
|
||||
if (!count)
|
||||
return camel_folder_summary_header_save_to_db (s, ex);
|
||||
|
||||
- printf("Saving %d/%d dirty records of %s\n", count, g_hash_table_size (s->loaded_infos), s->folder->full_name);
|
||||
+ d(printf("Saving %d/%d dirty records of %s\n", count, g_hash_table_size (s->loaded_infos), s->folder->full_name));
|
||||
|
||||
camel_db_begin_transaction (cdb, ex);
|
||||
|
@ -29,7 +29,7 @@
|
||||
|
||||
Name: evolution-data-server
|
||||
Version: 2.24.1
|
||||
Release: 1%{?dist}
|
||||
Release: 2%{?dist}
|
||||
License: LGPLv2
|
||||
Group: System Environment/Libraries
|
||||
Summary: Backend data server for Evolution
|
||||
@ -51,6 +51,9 @@ Patch12: evolution-data-server-1.10.1-camel-folder-summary-crash.patch
|
||||
# RH bug #243296
|
||||
Patch13: evolution-data-server-1.11.5-fix-64bit-acinclude.patch
|
||||
|
||||
# RH bug #467804
|
||||
Patch14: evolution-data-server-2.24.1-remove-console-spew.patch
|
||||
|
||||
### Build Dependencies ###
|
||||
|
||||
BuildRequires: GConf2-devel
|
||||
@ -129,6 +132,7 @@ This package contains developer documentation for %{name}.
|
||||
%patch11 -p1 -b .fix-ldap-query
|
||||
%patch12 -p1 -b .camel-folder-summary-crash
|
||||
%patch13 -p1 -b .fix-64bit-acinclude
|
||||
%patch14 -p1 -b .remove-console-spew
|
||||
|
||||
mkdir -p krb5-fakeprefix/include
|
||||
mkdir -p krb5-fakeprefix/lib
|
||||
@ -374,6 +378,9 @@ rm -rf $RPM_BUILD_ROOT
|
||||
%{_datadir}/gtk-doc/html/libedataserverui
|
||||
|
||||
%changelog
|
||||
* Thu Oct 23 2008 Matthew Barnes <mbarnes@redhat.com> - 2.24.1-2.fc10
|
||||
- Add patch for RH bug #467804 (remove console spew).
|
||||
|
||||
* Tue Oct 21 2008 Matthew Barnes <mbarnes@redhat.com> - 2.24.1-1.fc10
|
||||
- Update to 2.24.1
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user