summaryrefslogtreecommitdiffstats
path: root/databases/evolution-data-server/files/patch-camel_camel-net-utils.c
diff options
context:
space:
mode:
Diffstat (limited to 'databases/evolution-data-server/files/patch-camel_camel-net-utils.c')
-rw-r--r--databases/evolution-data-server/files/patch-camel_camel-net-utils.c24
1 files changed, 24 insertions, 0 deletions
diff --git a/databases/evolution-data-server/files/patch-camel_camel-net-utils.c b/databases/evolution-data-server/files/patch-camel_camel-net-utils.c
new file mode 100644
index 000000000..17bddca39
--- /dev/null
+++ b/databases/evolution-data-server/files/patch-camel_camel-net-utils.c
@@ -0,0 +1,24 @@
+--- camel/camel-net-utils.c.orig Tue Dec 21 13:38:52 2004
++++ camel/camel-net-utils.c Tue Dec 21 13:40:34 2004
+@@ -143,12 +143,21 @@
+ case EAI_SERVICE:
+ return NO_DATA;
+ break;
++#ifdef EAI_ADDRFAMILY
+ case EAI_ADDRFAMILY:
+ return NO_ADDRESS;
+ break;
++#endif
++#if defined(EAI_NODATA) && EAI_NODATA != EAI_NONAME
+ case EAI_NODATA:
+ return NO_DATA;
+ break;
++#endif
++#ifdef EAI_NOFAMILY
++ case EAI_NOFAMILY:
++ return NO_ADDRESS;
++ break;
++#endif
+ case EAI_MEMORY:
+ return ENOMEM;
+ break;