evolution/abuild.patch

90 lines
3.1 KiB
Diff

Index: evolution-2.11.5/calendar/conduits/memo/memo-conduit.c
===================================================================
--- evolution-2.11.5.orig/calendar/conduits/memo/memo-conduit.c
+++ evolution-2.11.5/calendar/conduits/memo/memo-conduit.c
@@ -471,6 +471,8 @@ local_record_to_pilot_record (EMemoLocal
pi_buffer_t * buffer;
#endif
+ memset(&p, 0, sizeof (p));
+
g_assert (local->comp != NULL);
g_assert (local->memo != NULL );
Index: evolution-2.11.5/calendar/conduits/todo/todo-conduit.c
===================================================================
--- evolution-2.11.5.orig/calendar/conduits/todo/todo-conduit.c
+++ evolution-2.11.5/calendar/conduits/todo/todo-conduit.c
@@ -618,6 +618,8 @@ local_record_to_pilot_record (EToDoLocal
LOG (g_message ( "local_record_to_pilot_record\n" ));
+ memset(&p, 0, sizeof (p));
+
p.ID = local->local.ID;
p.category = local->local.category;
p.attr = local->local.attr;
Index: evolution-2.11.5/addressbook/conduit/address-conduit.c
===================================================================
--- evolution-2.11.5.orig/addressbook/conduit/address-conduit.c
+++ evolution-2.11.5/addressbook/conduit/address-conduit.c
@@ -810,6 +810,8 @@ local_record_to_pilot_record (EAddrLocal
#ifdef PILOT_LINK_0_12
pi_buffer_t * buffer;
#endif
+
+ memset(&p, 0, sizeof (p));
g_assert (local->addr != NULL );
Index: evolution-2.11.5/calendar/conduits/calendar/calendar-conduit.c
===================================================================
--- evolution-2.11.5.orig/calendar/conduits/calendar/calendar-conduit.c
+++ evolution-2.11.5/calendar/conduits/calendar/calendar-conduit.c
@@ -838,6 +838,8 @@ local_record_to_pilot_record (ECalLocalR
pi_buffer_t * buffer;
#endif
+ memset(&p, 0, sizeof (p));
+
g_assert (local->comp != NULL);
g_assert (local->appt != NULL );
Index: evolution-2.11.5/addressbook/gui/merging/eab-contact-merging.c
===================================================================
--- evolution-2.11.5.orig/addressbook/gui/merging/eab-contact-merging.c
+++ evolution-2.11.5/addressbook/gui/merging/eab-contact-merging.c
@@ -343,6 +343,7 @@ mergeit (EContactMergingLookup *lookup)
value = 1;
break;
case GTK_RESPONSE_CANCEL:
+ default:
value = 0;
break;
}
Index: evolution-2.11.5/plugins/exchange-operations/exchange-delegates-user.c
===================================================================
--- evolution-2.11.5.orig/plugins/exchange-operations/exchange-delegates-user.c
+++ evolution-2.11.5/plugins/exchange-operations/exchange-delegates-user.c
@@ -26,7 +26,11 @@
#include <mail/mail-ops.h>
#include <mail/mail-component.h>
#include <camel/camel-multipart.h>
+#include <camel/camel-mime-utils.h>
+#include <camel/camel-stream-mem.h>
#include "exchange-delegates-user.h"
+#include "exchange-delegates.h"
+#include <exchange/exchange-account.h>
#include <e2k-global-catalog.h>
#include <e2k-marshal.h>
#include <e2k-sid.h>
@@ -46,6 +50,8 @@
#undef GTK_DISABLE_DEPRECATED
#include <gtk/gtkoptionmenu.h>
+#include <glib.h>
+
#include <string.h>