pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/security/mit-krb5 mit-krb5: Avoid bogus -Wuninitialize...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/0a2a03f956b1
branches:  trunk
changeset: 308522:0a2a03f956b1
user:      jperkin <jperkin%pkgsrc.org@localhost>
date:      Fri May 25 13:46:40 2018 +0000

description:
mit-krb5: Avoid bogus -Wuninitialized warning.

diffstat:

 security/mit-krb5/distinfo                              |   3 ++-
 security/mit-krb5/patches/patch-lib_krb5_os_timeofday.c |  15 +++++++++++++++
 2 files changed, 17 insertions(+), 1 deletions(-)

diffs (36 lines):

diff -r 8699f6ded0c1 -r 0a2a03f956b1 security/mit-krb5/distinfo
--- a/security/mit-krb5/distinfo        Fri May 25 13:08:49 2018 +0000
+++ b/security/mit-krb5/distinfo        Fri May 25 13:46:40 2018 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.62 2017/10/10 21:22:53 tez Exp $
+$NetBSD: distinfo,v 1.63 2018/05/25 13:46:40 jperkin Exp $
 
 SHA1 (krb5-1.14.6.tar.gz) = ea7928a3368ae6d8ecf29a70f70598091f226740
 RMD160 (krb5-1.14.6.tar.gz) = 7e9f8192845d11108a3c48dd707d7d4bc5dd0a29
@@ -24,6 +24,7 @@
 SHA1 (patch-lib_apputils_net-server.c) = a10630940fc56062c1074fdc0c43a0527fa76105
 SHA1 (patch-lib_krb5_asn.1_asn1buf.h) = 74d7d172ec4c8d7f68a093befc6b40c99b119e37
 SHA1 (patch-lib_krb5_ccache_Makefile.in) = 9a12f64c15bbca3dd55edeec16ef956e8cde9043
+SHA1 (patch-lib_krb5_os_timeofday.c) = db1686d25d6f56793f3e66ddee5513e93179979d
 SHA1 (patch-plugins_kdb_db2_Makefile.in) = f374fc5915b735075fbb751ef736f4ce54abc289
 SHA1 (patch-plugins_kdb_db2_libdb2_Makefile.in) = b4b7e8e4192b5e5318f1e42c49315789619f3ae9
 SHA1 (patch-plugins_preauth_otp_Makefile.in) = 8c779e3b37cab4138f300f4a09325387092c79f8
diff -r 8699f6ded0c1 -r 0a2a03f956b1 security/mit-krb5/patches/patch-lib_krb5_os_timeofday.c
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/security/mit-krb5/patches/patch-lib_krb5_os_timeofday.c   Fri May 25 13:46:40 2018 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-lib_krb5_os_timeofday.c,v 1.1 2018/05/25 13:46:40 jperkin Exp $
+
+Avoid bogus -Wuninitialized warning.
+
+--- lib/krb5/os/timeofday.c.orig       2017-09-25 16:29:00.000000000 +0000
++++ lib/krb5/os/timeofday.c
+@@ -54,7 +54,7 @@ krb5_timeofday(krb5_context context, reg
+ krb5_error_code KRB5_CALLCONV
+ krb5_check_clockskew(krb5_context context, krb5_timestamp date)
+ {
+-    krb5_timestamp currenttime;
++    krb5_timestamp currenttime = 0;
+     krb5_error_code retval;
+ 
+     retval = krb5_timeofday(context, &currenttime);



Home | Main Index | Thread Index | Old Index