From c5ab9922f1e1d9c71f22378374e2bf42b3216c80 Mon Sep 17 00:00:00 2001 From: marcus Date: Thu, 30 Sep 2004 20:43:44 +0000 Subject: 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 --- mail/evolution/files/patch-e-util_e-host-utils.c | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 mail/evolution/files/patch-e-util_e-host-utils.c (limited to 'mail') 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; -- cgit v1.2.3