aboutsummaryrefslogtreecommitdiff
path: root/mail/libesmtp
diff options
context:
space:
mode:
authorHajimu UMEMOTO <ume@FreeBSD.org>2003-10-29 16:25:23 +0000
committerHajimu UMEMOTO <ume@FreeBSD.org>2003-10-29 16:25:23 +0000
commitaf6d6ef44301138b8c84d89faf790308d8f31d56 (patch)
treeff2ea9992e8215623ec20b39f3e8336a1c5a00f2 /mail/libesmtp
parent8d87a71c306d0c7335af7421c61d540b8110511d (diff)
downloadports-af6d6ef44301138b8c84d89faf790308d8f31d56.tar.gz
ports-af6d6ef44301138b8c84d89faf790308d8f31d56.zip
Notes
Diffstat (limited to 'mail/libesmtp')
-rw-r--r--mail/libesmtp/files/patch-errors.c30
1 files changed, 30 insertions, 0 deletions
diff --git a/mail/libesmtp/files/patch-errors.c b/mail/libesmtp/files/patch-errors.c
new file mode 100644
index 000000000000..adb6255452ea
--- /dev/null
+++ b/mail/libesmtp/files/patch-errors.c
@@ -0,0 +1,30 @@
+Index: errors.c
+diff -u errors.c.orig errors.c
+--- errors.c.orig Mon Mar 4 18:06:58 2002
++++ errors.c Thu Oct 30 00:52:41 2003
+@@ -77,8 +77,12 @@
+ MAP(EAI_AGAIN)
+ MAP(EAI_FAIL)
+ MAP(EAI_MEMORY)
++#ifdef EAI_ADDRFAMILY
+ MAP(EAI_ADDRFAMILY)
++#endif
++#if defined(EAI_NODATA) && EAI_NODATA != EAI_NONAME
+ MAP(EAI_NODATA)
++#endif
+ MAP(EAI_FAMILY)
+ MAP(EAI_BADFLAGS)
+ MAP(EAI_NONAME)
+@@ -98,8 +102,12 @@
+ MAP(EAI_AGAIN)
+ MAP(EAI_FAIL)
+ MAP(EAI_MEMORY)
++#ifdef EAI_ADDRFAMILY
+ MAP(EAI_ADDRFAMILY)
++#endif
++#if defined(EAI_NODATA) && EAI_NODATA != EAI_NONAME
+ MAP(EAI_NODATA)
++#endif
+ MAP(EAI_FAMILY)
+ MAP(EAI_BADFLAGS)
+ MAP(EAI_NONAME)