summaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authormarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2004-10-01 04:43:44 +0800
committermarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2004-10-01 04:43:44 +0800
commitc5ab9922f1e1d9c71f22378374e2bf42b3216c80 (patch)
tree74b261af7cdeafe0dcfb159088e88e3153e7e61b /mail
parentd28d251c86d4e57ae692de893884564d4d7dff18 (diff)
downloadmarcuscom-ports-c5ab9922f1e1d9c71f22378374e2bf42b3216c80.tar
marcuscom-ports-c5ab9922f1e1d9c71f22378374e2bf42b3216c80.tar.gz
marcuscom-ports-c5ab9922f1e1d9c71f22378374e2bf42b3216c80.tar.bz2
marcuscom-ports-c5ab9922f1e1d9c71f22378374e2bf42b3216c80.tar.lz
marcuscom-ports-c5ab9922f1e1d9c71f22378374e2bf42b3216c80.tar.xz
marcuscom-ports-c5ab9922f1e1d9c71f22378374e2bf42b3216c80.tar.zst
marcuscom-ports-c5ab9922f1e1d9c71f22378374e2bf42b3216c80.zip
Fix build on 5.X and higher now that EAI_NODATA and EAI_ADDRFAMILY are
obsolete. Reported by: mezz git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@2913 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'mail')
-rw-r--r--mail/evolution/files/patch-e-util_e-host-utils.c24
1 files changed, 24 insertions, 0 deletions
diff --git a/mail/evolution/files/patch-e-util_e-host-utils.c b/mail/evolution/files/patch-e-util_e-host-utils.c
new file mode 100644
index 000000000..cadc0e6fd
--- /dev/null
+++ b/mail/evolution/files/patch-e-util_e-host-utils.c
@@ -0,0 +1,24 @@
+--- e-util/e-host-utils.c.orig Thu Sep 30 16:39:55 2004
++++ e-util/e-host-utils.c Thu Sep 30 16:45:00 2004
+@@ -136,12 +136,21 @@
+ case EAI_SERVICE:
+ return NO_DATA;
+ break;
++#ifdef EAI_ADDRFAMILY
+ case EAI_ADDRFAMILY:
+ return NO_ADDRESS;
+ break;
++#endif
++#ifdef EAI_NODATA
+ 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;