diff options
author | cy <cy@FreeBSD.org> | 2005-11-09 02:51:23 +0800 |
---|---|---|
committer | cy <cy@FreeBSD.org> | 2005-11-09 02:51:23 +0800 |
commit | 799af3cce6587932fb4a82cda692a390370aa22f (patch) | |
tree | f48ad664a46923cdad1da219891ff74717481d7c /security/krb5-17 | |
parent | 8e908e7ec4255281ad7647f94b1386993e3f989a (diff) | |
download | freebsd-ports-gnome-799af3cce6587932fb4a82cda692a390370aa22f.tar.gz freebsd-ports-gnome-799af3cce6587932fb4a82cda692a390370aa22f.tar.zst freebsd-ports-gnome-799af3cce6587932fb4a82cda692a390370aa22f.zip |
Fix FreeBSD-4.11 build problem
PR: 87888
Diffstat (limited to 'security/krb5-17')
-rw-r--r-- | security/krb5-17/Makefile | 6 | ||||
-rw-r--r-- | security/krb5-17/files/patch-lib::gssapi::krb5::import_name.c | 14 |
2 files changed, 15 insertions, 5 deletions
diff --git a/security/krb5-17/Makefile b/security/krb5-17/Makefile index e9d6e5b797d2..33a9b2d62600 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 000000000000..40f116af2196 --- /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 |