rpms/evolution-exchange/devel evolution-exchange-2.11.5-fix-warnings.patch, NONE, 1.1 .cvsignore, 1.3, 1.4 evolution-exchange.spec, 1.2, 1.3 sources, 1.3, 1.4 evolution-exchange-2.11.3.1-fix-warnings.patch, 1.1, NONE

Matthew Barnes (mbarnes) fedora-extras-commits at redhat.com
Mon Jul 9 20:37:01 UTC 2007


Author: mbarnes

Update of /cvs/pkgs/rpms/evolution-exchange/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv11509

Modified Files:
	.cvsignore evolution-exchange.spec sources 
Added Files:
	evolution-exchange-2.11.5-fix-warnings.patch 
Removed Files:
	evolution-exchange-2.11.3.1-fix-warnings.patch 
Log Message:

* Mon Jul 09 2007 Matthew Barnes <mbarnes at redhat.com> - 2.11.5-1.fc8
- Update to 2.11.5


evolution-exchange-2.11.5-fix-warnings.patch:

--- NEW FILE evolution-exchange-2.11.5-fix-warnings.patch ---
--- evolution-exchange-2.11.5/mail/mail-utils.c.fix-warnings	2007-07-09 07:30:30.000000000 -0400
+++ evolution-exchange-2.11.5/mail/mail-utils.c	2007-07-09 16:26:56.000000000 -0400
@@ -338,7 +338,7 @@ mail_util_demangle_sender_field (GString
 	prop = icalcomponent_get_first_property (event_comp, ICAL_ORGANIZER_PROPERTY);
 	if (prop) {
 		const char *organizer;
-		char *text;
+		char *text = NULL;
 
 		organizer = icalproperty_get_value_as_string (prop);
 		if (organizer) {
@@ -359,7 +359,7 @@ mail_util_demangle_sender_field (GString
 	     prop != NULL;
 	     prop = icalcomponent_get_next_property (event_comp, ICAL_ATTENDEE_PROPERTY)) {
 		const char *attendee;
-		char *text;
+		char *text = NULL;
 
 		attendee = icalproperty_get_value_as_string (prop);
 		if (!attendee)
@@ -484,7 +484,7 @@ mail_util_demangle_delegated_meeting (GS
 	prop = icalcomponent_get_first_property (event_comp, ICAL_ORGANIZER_PROPERTY);
 	if (prop) {
 		const char *organizer;
-		char *text;
+		char *text = NULL;
 
 		organizer = icalproperty_get_value_as_string (prop);
 		if (organizer) {
@@ -508,7 +508,7 @@ mail_util_demangle_delegated_meeting (GS
 	     prop != NULL;
 	     prop = icalcomponent_get_next_property (event_comp, ICAL_ATTENDEE_PROPERTY)) {
 		const char *attendee;
-		char *text;
+		char *text = NULL;
 
 		attendee = icalproperty_get_value_as_string (prop);
 		if (!attendee)
--- evolution-exchange-2.11.5/mail/mail-stub-exchange.c.fix-warnings	2007-07-09 07:30:30.000000000 -0400
+++ evolution-exchange-2.11.5/mail/mail-stub-exchange.c	2007-07-09 16:26:56.000000000 -0400
@@ -568,7 +568,7 @@ mse_get_folder_online_sync_updates (gpoi
 {
 	unsigned int index, seq, i;
 	MailStubExchangeFolder *mfld = (MailStubExchangeFolder *)user_data;	
-	MailStub *stub = MAIL_STUB (mfld->mse);
+	/*MailStub *stub = MAIL_STUB (mfld->mse);*/
 	MailStubExchangeMessage *mmsg = NULL;
 
 	index = GPOINTER_TO_UINT (key);
--- evolution-exchange-2.11.5/calendar/e-cal-backend-exchange-calendar.c.fix-warnings	2007-07-09 07:30:31.000000000 -0400
+++ evolution-exchange-2.11.5/calendar/e-cal-backend-exchange-calendar.c	2007-07-09 16:26:56.000000000 -0400
@@ -617,7 +617,7 @@ process_delegated_cal_object (icalcompon
 	prop = icalcomponent_get_first_property (icalcomp, ICAL_ORGANIZER_PROPERTY);
 	if (prop) {
 		const char *organizer;
-		char *text;
+		char *text = NULL;
 
 		organizer = icalproperty_get_value_as_string (prop);
 		if (organizer) {
@@ -648,7 +648,7 @@ process_delegated_cal_object (icalcompon
 	     prop != NULL;
 	     prop = icalcomponent_get_next_property (icalcomp, ICAL_ATTENDEE_PROPERTY)) {
 		const char *attendee;
-		char *text;
+		char *text = NULL;
 
 		attendee = icalproperty_get_value_as_string (prop);
 		if (!attendee)
@@ -719,7 +719,7 @@ find_attendee_prop (icalcomponent *ical_
 	     prop != NULL;
 	     prop = icalcomponent_get_next_property (ical_comp, ICAL_ATTENDEE_PROPERTY)) {
 		const char *attendee;
-		char *text;
+		char *text = NULL;
 
 		attendee = icalproperty_get_value_as_string (prop);
 		if (!attendee)
--- evolution-exchange-2.11.5/camel/camel-exchange-folder.c.fix-warnings	2007-07-09 07:30:30.000000000 -0400
+++ evolution-exchange-2.11.5/camel/camel-exchange-folder.c	2007-07-09 16:26:56.000000000 -0400
@@ -439,7 +439,8 @@ get_message (CamelFolder *folder, const 
 	CamelStreamFilter *filtered_stream;
 	CamelMimeFilter *crlffilter;
 	GByteArray *ba;
-	const char *from, *from_changed, *sender, **sender_name;
+	const char *from, *from_changed, *sender;
+	const gchar *from_initial;
 
 	ba = get_message_data (folder, uid, ex);
 	if (!ba)
@@ -461,13 +462,13 @@ get_message (CamelFolder *folder, const 
 
 	/*Get the from address*/
 	from = camel_medium_get_header(CAMEL_MEDIUM(msg), "From");
-	const gchar* from_initial = g_strdup(from);
+	from_initial = g_strdup(from);
 	
 	/*Check if the sender header exists. The sender header suggests that the mail message is a 
 	delegated message. So Evolution recognizes it as a delegated mail sent by the 
 	"sender" on behalf of "from" */
 
-	if(sender = (const char *) camel_medium_get_header (CAMEL_MEDIUM (msg), "Sender")) {
+	if((sender = (const char *) camel_medium_get_header (CAMEL_MEDIUM (msg), "Sender"))) {
 
 		struct _camel_header_address *sender_addr = camel_header_address_decode (sender, NULL);
 
@@ -475,9 +476,12 @@ get_message (CamelFolder *folder, const 
 		and display it as the name. Evolution accounts should neccesarily have names specified. 
 		This piece of code is for some other clients which may have the name field as NULL.*/
 		if(sender_addr->name == NULL) {
+			gchar **sender_name;
+
 			sender_name = g_strsplit (sender_addr->v.addr, "@", 2);        
 			from_changed = g_strdup_printf (_("%s at %s on behalf of %s"), sender_name[0], 
 							sender_name[1], from_initial);
+			g_strfreev (sender_name);
 		}
 
 		else {


Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/evolution-exchange/devel/.cvsignore,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- .cvsignore	18 Jun 2007 21:15:47 -0000	1.3
+++ .cvsignore	9 Jul 2007 20:36:26 -0000	1.4
@@ -1 +1 @@
-evolution-exchange-2.11.4.tar.bz2
+evolution-exchange-2.11.5.tar.bz2


Index: evolution-exchange.spec
===================================================================
RCS file: /cvs/pkgs/rpms/evolution-exchange/devel/evolution-exchange.spec,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- evolution-exchange.spec	18 Jun 2007 21:15:47 -0000	1.2
+++ evolution-exchange.spec	9 Jul 2007 20:36:26 -0000	1.3
@@ -23,7 +23,7 @@
 ### Abstract ###
 
 Name: evolution-exchange
-Version: 2.11.4
+Version: 2.11.5
 Release: 1%{?dist}
 License: GPL
 Group: Applications/Productivity
@@ -50,6 +50,9 @@
 # Remove deprecated e_passwords_shutdown().
 Patch15: evolution-exchange-2.11.4-e-passwords.patch
 
+# Fix newly introduced warnings in 2.11.5.
+Patch16: evolution-exchange-2.11.5-fix-warnings.patch
+
 ### Dependencies ###
 
 Requires: db4
@@ -89,6 +92,7 @@
 %patch13 -p1 -b .no_gnome_common
 %patch14 -p1 -b .fix-library-order
 %patch15 -p1 -b .e-passwords
+%patch16 -p1 -b .fix-warnings
 
 %build
 export CFLAGS="$RPM_OPT_FLAGS -DLDAP_DEPRECATED"
@@ -163,6 +167,9 @@
 %{_sysconfdir}/gconf/schemas/apps_exchange_addressbook-%{evo_major}.schemas
 
 %changelog
+* Mon Jul 09 2007 Matthew Barnes <mbarnes at redhat.com> - 2.11.5-1.fc8
+- Update to 2.11.5
+
 * Mon Jun 18 2007 Matthew Barnes <mbarnes at redhat.com> - 2.11.4-1.fc8
 - Update to 2.11.4
 - Remove patch for GNOME bug #444101 (fixed upstream).


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/evolution-exchange/devel/sources,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- sources	18 Jun 2007 21:15:47 -0000	1.3
+++ sources	9 Jul 2007 20:36:26 -0000	1.4
@@ -1 +1 @@
-7f60443a1c2b8712e7b89be3d505b7b2  evolution-exchange-2.11.4.tar.bz2
+aa9367670fa6ad044fcce01323996896  evolution-exchange-2.11.5.tar.bz2


--- evolution-exchange-2.11.3.1-fix-warnings.patch DELETED ---




More information about the fedora-extras-commits mailing list