evolution-data-server/evolution-data-server-2.21.1-implicit-function-declarations.patch

78 lines
3.4 KiB
Diff
Raw Normal View History

diff -up evolution-data-server-2.21.1/servers/google/libgdata/gdata-entry.c.implicit-function-declarations evolution-data-server-2.21.1/servers/google/libgdata/gdata-entry.c
--- evolution-data-server-2.21.1/servers/google/libgdata/gdata-entry.c.implicit-function-declarations 2007-10-24 02:39:44.000000000 -0400
+++ evolution-data-server-2.21.1/servers/google/libgdata/gdata-entry.c 2007-10-29 11:14:13.000000000 -0400
@@ -31,6 +31,7 @@
#include <libxml/xpath.h>
#include <libxml/xpathInternals.h>
+#include <string.h>
#include <gdata-entry.h>
#define GDATA_ENTRY_GET_PRIVATE(obj) (G_TYPE_INSTANCE_GET_PRIVATE ((obj), GDATA_TYPE_ENTRY, GDataEntryPrivate))
@@ -812,7 +813,7 @@ build_hash_table_entries (gchar *key, gc
if (ptr->next == NULL) {
/* FIXME: Will we be needing , these nodes of entries when building them ? */
- if (!g_strcasecmp (key, "published") || !g_strcasecmp (key, "id") || !g_strcasecmp (key, "updated"))
+ if (!g_ascii_strcasecmp (key, "published") || !g_ascii_strcasecmp (key, "id") || !g_ascii_strcasecmp (key, "updated"))
break;
ptr->next = xmlNewNode (NULL, (xmlChar *)key);
@@ -1081,7 +1082,7 @@ gdata_entry_get_edit_link (GDataEntry *e
while (list) {
link = list->data;
- if (!g_strcasecmp (link->rel, "edit")) {
+ if (!g_ascii_strcasecmp (link->rel, "edit")) {
edit_link = g_strdup(link->href);
}
list = g_slist_next (list);
diff -up evolution-data-server-2.21.1/servers/google/libgdata-google/gdata-google-service.c.implicit-function-declarations evolution-data-server-2.21.1/servers/google/libgdata-google/gdata-google-service.c
--- evolution-data-server-2.21.1/servers/google/libgdata-google/gdata-google-service.c.implicit-function-declarations 2007-10-29 11:17:57.000000000 -0400
+++ evolution-data-server-2.21.1/servers/google/libgdata-google/gdata-google-service.c 2007-10-29 11:18:19.000000000 -0400
@@ -183,7 +183,7 @@ gdata_google_service_get_feed (GDataServ
if (!service_is_authenticated( GDATA_GOOGLE_SERVICE(service) )) {
status = service_authenticate(GDATA_GOOGLE_SERVICE(service));
- if (g_strcasecmp(status, "SUCCESS")) {
+ if (g_ascii_strcasecmp(status, "SUCCESS")) {
return NULL;
}
}
@@ -235,7 +235,7 @@ gdata_google_service_insert_entry (GData
if (!service_is_authenticated(GDATA_GOOGLE_SERVICE(service))) {
status = service_authenticate(GDATA_GOOGLE_SERVICE(service));
- if (g_strcasecmp(status,"SUCCESS"))
+ if (g_ascii_strcasecmp(status,"SUCCESS"))
return NULL;
}
@@ -305,7 +305,7 @@ gdata_google_service_delete_entry (GData
if (!service_is_authenticated (GDATA_GOOGLE_SERVICE(service))) {
status = (xmlChar *)service_authenticate (GDATA_GOOGLE_SERVICE(service));
- if (g_strcasecmp((gchar *)status, "SUCCESS"))
+ if (g_ascii_strcasecmp((gchar *)status, "SUCCESS"))
return ;
}
@@ -350,7 +350,7 @@ gdata_google_service_update_entry (GData
if (!service_is_authenticated (GDATA_GOOGLE_SERVICE (service))) {
status = service_authenticate (GDATA_GOOGLE_SERVICE (service));
- if (g_strcasecmp (status, "SUCCESS"))
+ if (g_ascii_strcasecmp (status, "SUCCESS"))
return;
}
@@ -410,7 +410,7 @@ gdata_google_service_update_entry_with_l
if (!service_is_authenticated (GDATA_GOOGLE_SERVICE(service))) {
status = service_authenticate (GDATA_GOOGLE_SERVICE(service));
- if (g_strcasecmp (status, "SUCCESS"))
+ if (g_ascii_strcasecmp (status, "SUCCESS"))
return;
}