From b134e9024347cb8d8426730b7225ad1810c598b6 Mon Sep 17 00:00:00 2001 From: Cy Schubert Date: Sun, 25 Jan 2004 22:08:27 +0000 Subject: Change to src/include/netdb.h 1.31 caused a compile error. This commit fixes that error. Reported by: bento --- security/krb5-16/files/patch-lib::krb5::os::hst_realm.c | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 security/krb5-16/files/patch-lib::krb5::os::hst_realm.c (limited to 'security/krb5-16/files/patch-lib::krb5::os::hst_realm.c') diff --git a/security/krb5-16/files/patch-lib::krb5::os::hst_realm.c b/security/krb5-16/files/patch-lib::krb5::os::hst_realm.c new file mode 100644 index 000000000000..d3caed59fd30 --- /dev/null +++ b/security/krb5-16/files/patch-lib::krb5::os::hst_realm.c @@ -0,0 +1,14 @@ +--- lib/krb5/os/hst_realm.c.orig Tue Oct 15 15:51:50 2002 ++++ lib/krb5/os/hst_realm.c Sat Jan 24 20:11:05 2004 +@@ -438,9 +438,11 @@ + return EAFNOSUPPORT; + case EAI_MEMORY: + return ENOMEM; ++#ifdef EAI_NODATA + #if EAI_NODATA != EAI_NONAME + case EAI_NODATA: + return KRB5_EAI_NODATA; ++#endif + #endif + case EAI_NONAME: + return KRB5_EAI_NONAME; -- cgit v1.2.3