aboutsummaryrefslogtreecommitdiffstats
path: root/security/krb5
diff options
context:
space:
mode:
authorcy <cy@FreeBSD.org>2015-02-13 05:15:15 +0800
committercy <cy@FreeBSD.org>2015-02-13 05:15:15 +0800
commitb4693b2da6654019edcb3776adb7bcb489b42ca9 (patch)
treed2cc1fbde940fe8744a5ed94816941c6f6ceddd0 /security/krb5
parente841665fd4decedcf555ec347ecb9618de7bbcdd (diff)
downloadfreebsd-ports-gnome-b4693b2da6654019edcb3776adb7bcb489b42ca9.tar.gz
freebsd-ports-gnome-b4693b2da6654019edcb3776adb7bcb489b42ca9.tar.zst
freebsd-ports-gnome-b4693b2da6654019edcb3776adb7bcb489b42ca9.zip
Fix gcc5 build for DragonFly BSD.
PR: 197561 Submitted by: marino
Diffstat (limited to 'security/krb5')
-rw-r--r--security/krb5/Makefile2
-rw-r--r--security/krb5/files/patch-lib__krb5__ccache__cc_file.c10
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);