summaryrefslogtreecommitdiffstats
path: root/security/krb5-17
diff options
context:
space:
mode:
authorcy <cy@FreeBSD.org>2005-11-08 18:51:23 +0000
committercy <cy@FreeBSD.org>2005-11-08 18:51:23 +0000
commit799af3cce6587932fb4a82cda692a390370aa22f (patch)
treef48ad664a46923cdad1da219891ff74717481d7c /security/krb5-17
parent8e908e7ec4255281ad7647f94b1386993e3f989a (diff)
downloadFreeBSD-ports-799af3cce6587932fb4a82cda692a390370aa22f.zip
FreeBSD-ports-799af3cce6587932fb4a82cda692a390370aa22f.tar.gz
Fix FreeBSD-4.11 build problem
PR: 87888
Diffstat (limited to 'security/krb5-17')
-rw-r--r--security/krb5-17/Makefile6
-rw-r--r--security/krb5-17/files/patch-lib::gssapi::krb5::import_name.c14
2 files changed, 15 insertions, 5 deletions
diff --git a/security/krb5-17/Makefile b/security/krb5-17/Makefile
index e9d6e5b..33a9b2d 100644
--- a/security/krb5-17/Makefile
+++ b/security/krb5-17/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-17/files/patch-lib::gssapi::krb5::import_name.c b/security/krb5-17/files/patch-lib::gssapi::krb5::import_name.c
new file mode 100644
index 0000000..40f116a
--- /dev/null
+++ b/security/krb5-17/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
OpenPOWER on IntegriCloud