Compiling MIT krb5 1.5 on FreeBSD 6
Ben Cox
cox at djehuti.com
Thu Aug 10 15:38:54 EDT 2006
FWIW:
I had to make the following changes to compile the MIT krb5 1.5
sources on FreeBSD 6.0.
-- Ben
--- src-dist/lib/krb5/os/hst_realm.c Fri Jun 16 02:58:42 2006
+++ src/lib/krb5/os/hst_realm.c Thu Aug 10 14:40:23 2006
@@ -365,7 +365,7 @@
return EAFNOSUPPORT;
case EAI_MEMORY:
return ENOMEM;
-#if EAI_NODATA != EAI_NONAME
+#if defined(EAI_NODATA) && (EAI_NODATA != EAI_NONAME)
case EAI_NODATA:
return KRB5_EAI_NODATA;
#endif
--- src-dist/lib/krb5/os/locate_kdc.c Wed May 24 17:19:23 2006
+++ src/lib/krb5/os/locate_kdc.c Thu Aug 10 14:42:09 2006
@@ -157,7 +157,7 @@
#ifdef EAI_ADDRFAMILY
case EAI_ADDRFAMILY:
#endif
-#if EAI_NODATA != EAI_NONAME
+#if defined(EAI_NODATA) && (EAI_NODATA != EAI_NONAME)
case EAI_NODATA:
#endif
case EAI_NONAME:
__
Ben Cox <cox at djehuti.com>
http://www.djehuti.com
More information about the krbdev
mailing list