aboutsummaryrefslogtreecommitdiff
path: root/security/krb5-16
diff options
context:
space:
mode:
authorCy Schubert <cy@FreeBSD.org>2005-11-08 18:51:23 +0000
committerCy Schubert <cy@FreeBSD.org>2005-11-08 18:51:23 +0000
commit34e9c28ad3284b476391c3b3f2cf22a26c4bb794 (patch)
tree3015fe41af55de6573dd1788c76c3ee295940f05 /security/krb5-16
parent9256e09d9be7a5ec2482854f73a9d853bb748a22 (diff)
downloadports-34e9c28ad3284b476391c3b3f2cf22a26c4bb794.tar.gz
ports-34e9c28ad3284b476391c3b3f2cf22a26c4bb794.zip
Notes
Diffstat (limited to 'security/krb5-16')
-rw-r--r--security/krb5-16/Makefile6
-rw-r--r--security/krb5-16/files/patch-lib::gssapi::krb5::import_name.c14
2 files changed, 15 insertions, 5 deletions
diff --git a/security/krb5-16/Makefile b/security/krb5-16/Makefile
index e9d6e5b797d2..33a9b2d62600 100644
--- a/security/krb5-16/Makefile
+++ b/security/krb5-16/Makefile
@@ -7,7 +7,7 @@
PORTNAME= krb5
PORTVERSION= 1.4.2
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= security
MASTER_SITES= http://web.mit.edu/kerberos/dist/krb5/${PORTVERSION:C/\.[0-9]*$/&/:C/\.[0-9]*$//}/
DISTNAME= ${PORTNAME}-${PORTVERSION}-signed
@@ -73,10 +73,6 @@ HTML_OUTDIRS= krb5-admin krb5-install
.include <bsd.port.pre.mk>
-.if ${OSVERSION} < 501000
-BROKEN= Does not build
-.endif
-
post-extract:
@${TAR} -C ${WRKDIR} -xzf ${WRKDIR}/${PORTNAME}-${PORTVERSION}.tar.gz
@${RM} ${WRKDIR}/${PORTNAME}-${PORTVERSION}.tar.gz ${WRKDIR}/${PORTNAME}-${PORTVERSION}.tar.gz.asc
diff --git a/security/krb5-16/files/patch-lib::gssapi::krb5::import_name.c b/security/krb5-16/files/patch-lib::gssapi::krb5::import_name.c
new file mode 100644
index 000000000000..40f116af2196
--- /dev/null
+++ b/security/krb5-16/files/patch-lib::gssapi::krb5::import_name.c
@@ -0,0 +1,14 @@
+--- lib/gssapi/krb5/import_name.c.orig Mon Jul 18 15:12:42 2005
++++ lib/gssapi/krb5/import_name.c Tue Nov 8 09:53:58 2005
+@@ -33,6 +33,11 @@
+ #endif
+ #endif
+
++#include <sys/param.h>
++#if __FreeBSD_version < 500100
++#include <stdio.h>
++#endif
++
+ #ifdef HAVE_STRING_H
+ #include <string.h>
+ #else