diff options
-rw-r--r-- | security/krb5/Makefile | 2 | ||||
-rw-r--r-- | security/krb5/files/patch-lib__krb5__ccache__cc_file.c | 10 |
2 files changed, 11 insertions, 1 deletions
diff --git a/security/krb5/Makefile b/security/krb5/Makefile index d3ffd759494d..e2ec06ee511c 100644 --- a/security/krb5/Makefile +++ b/security/krb5/Makefile @@ -3,7 +3,7 @@ PORTNAME= krb5 PORTVERSION= 1.13 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= security MASTER_SITES= http://web.mit.edu/kerberos/dist/${PORTNAME}/${PORTVERSION:C/^[0-9]*\.[0-9]*/&X/:C/X\.[0-9]*$//:C/X//}/ DISTNAME= ${PORTNAME}-${PORTVERSION}-signed diff --git a/security/krb5/files/patch-lib__krb5__ccache__cc_file.c b/security/krb5/files/patch-lib__krb5__ccache__cc_file.c new file mode 100644 index 000000000000..7e1f04041fc7 --- /dev/null +++ b/security/krb5/files/patch-lib__krb5__ccache__cc_file.c @@ -0,0 +1,10 @@ +--- lib/krb5/ccache/cc_file.c.orig 2014-10-15 16:55:10.000000000 -0700 ++++ lib/krb5/ccache/cc_file.c 2015-02-12 13:00:31.967166267 -0800 +@@ -136,6 +136,7 @@ + fcc_data *data = id->data; + struct stat sb; + ++ *size_out = 0; + k5_cc_mutex_assert_locked(context, &data->lock); + if (fstat(data->fd, &sb) == -1) + return interpret_errno(context, errno); |