svn commit: r378897 - in head/security/krb5: . files

Cy Schubert cy at FreeBSD.org
Thu Feb 12 21:15:16 UTC 2015


Author: cy
Date: Thu Feb 12 21:15:15 2015
New Revision: 378897
URL: https://svnweb.freebsd.org/changeset/ports/378897
QAT: https://qat.redports.org/buildarchive/r378897/

Log:
  Fix gcc5 build for DragonFly BSD.
  
  PR:		197561
  Submitted by:	marino

Added:
  head/security/krb5/files/patch-lib__krb5__ccache__cc_file.c   (contents, props changed)
Modified:
  head/security/krb5/Makefile

Modified: head/security/krb5/Makefile
==============================================================================
--- head/security/krb5/Makefile	Thu Feb 12 21:00:49 2015	(r378896)
+++ head/security/krb5/Makefile	Thu Feb 12 21:15:15 2015	(r378897)
@@ -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

Added: head/security/krb5/files/patch-lib__krb5__ccache__cc_file.c
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/security/krb5/files/patch-lib__krb5__ccache__cc_file.c	Thu Feb 12 21:15:15 2015	(r378897)
@@ -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);


More information about the svn-ports-head mailing list