aboutsummaryrefslogtreecommitdiff
path: root/security/krb5-appl
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-appl
parente97ffcd6feb2bc4174d41f8fa8a1459fd13d5ae3 (diff)
downloadports-b134e9024347cb8d8426730b7225ad1810c598b6.tar.gz
ports-b134e9024347cb8d8426730b7225ad1810c598b6.zip
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-appl')
-rw-r--r--security/krb5-appl/Makefile2
-rw-r--r--security/krb5-appl/files/patch-lib::krb5::os::hst_realm.c14
-rw-r--r--security/krb5-appl/files/patch-lib::krb5::os::locate_kdc.c13
3 files changed, 28 insertions, 1 deletions
diff --git a/security/krb5-appl/Makefile b/security/krb5-appl/Makefile
index 09194e6cc737..6c19574c3837 100644
--- a/security/krb5-appl/Makefile
+++ b/security/krb5-appl/Makefile
@@ -7,7 +7,7 @@
PORTNAME= krb5
PORTVERSION= 1.3.1
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= security
# USE_TARBALL tells the port that the user has fetched the source
# directly from MIT or crypto-publish.org (CRYTPO-PUBLISH).
diff --git a/security/krb5-appl/files/patch-lib::krb5::os::hst_realm.c b/security/krb5-appl/files/patch-lib::krb5::os::hst_realm.c
new file mode 100644
index 000000000000..d3caed59fd30
--- /dev/null
+++ b/security/krb5-appl/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;
diff --git a/security/krb5-appl/files/patch-lib::krb5::os::locate_kdc.c b/security/krb5-appl/files/patch-lib::krb5::os::locate_kdc.c
new file mode 100644
index 000000000000..5cfbbe3553de
--- /dev/null
+++ b/security/krb5-appl/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