summaryrefslogtreecommitdiff
path: root/security/krb5-17/files/patch-lib::krb5::os::locate_kdc.c
diff options
context:
space:
mode:
authorCy Schubert <cy@FreeBSD.org>2004-01-25 22:08:27 +0000
committerCy Schubert <cy@FreeBSD.org>2004-01-25 22:08:27 +0000
commitb134e9024347cb8d8426730b7225ad1810c598b6 (patch)
tree46626659b9bf73a1f996d4da38ec7185e1b8e823 /security/krb5-17/files/patch-lib::krb5::os::locate_kdc.c
parentRemove a COMMENT assignment that was left over from when we had pkg-comment (diff)
Change to src/include/netdb.h 1.31 caused a compile error. This
commit fixes that error. Reported by: bento
Notes
Notes: svn path=/head/; revision=99136
Diffstat (limited to 'security/krb5-17/files/patch-lib::krb5::os::locate_kdc.c')
-rw-r--r--security/krb5-17/files/patch-lib::krb5::os::locate_kdc.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/security/krb5-17/files/patch-lib::krb5::os::locate_kdc.c b/security/krb5-17/files/patch-lib::krb5::os::locate_kdc.c
new file mode 100644
index 000000000000..5cfbbe3553de
--- /dev/null
+++ b/security/krb5-17/files/patch-lib::krb5::os::locate_kdc.c
@@ -0,0 +1,13 @@
+--- lib/krb5/os/locate_kdc.c.orig Mon Jun 9 14:27:56 2003
++++ lib/krb5/os/locate_kdc.c Sun Jan 25 13:28:01 2004
+@@ -185,8 +185,10 @@
+ #ifdef EAI_ADDRFAMILY
+ case EAI_ADDRFAMILY:
+ #endif
++#ifdef EAI_NODATA
+ #if EAI_NODATA != EAI_NONAME
+ case EAI_NODATA:
++#endif
+ #endif
+ case EAI_NONAME:
+ /* Name not known or no address data, but no error. Do