Gentoo Archives: gentoo-commits

From: Sam James <sam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-crypt/mit-krb5/files/
Date: Fri, 02 Sep 2022 05:53:57
Message-Id: 1662098022.09d8637beeecaf66e01bd132663e1efe3637c8da.sam@gentoo
1 commit: 09d8637beeecaf66e01bd132663e1efe3637c8da
2 Author: Sam James <sam <AT> gentoo <DOT> org>
3 AuthorDate: Fri Sep 2 05:53:42 2022 +0000
4 Commit: Sam James <sam <AT> gentoo <DOT> org>
5 CommitDate: Fri Sep 2 05:53:42 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=09d8637b
7
8 app-crypt/mit-krb5: commit patch
9
10 Fixes: 1df08748602b2f8fac92f1c1bfb236c13d456fc6
11 Signed-off-by: Sam James <sam <AT> gentoo.org>
12
13 .../files/mit-krb5-1.20-missing-time-include.patch | 20 ++++++++++++++++++++
14 1 file changed, 20 insertions(+)
15
16 diff --git a/app-crypt/mit-krb5/files/mit-krb5-1.20-missing-time-include.patch b/app-crypt/mit-krb5/files/mit-krb5-1.20-missing-time-include.patch
17 new file mode 100644
18 index 000000000000..a8a495699129
19 --- /dev/null
20 +++ b/app-crypt/mit-krb5/files/mit-krb5-1.20-missing-time-include.patch
21 @@ -0,0 +1,20 @@
22 +https://github.com/krb5/krb5/commit/c3958cec43b598b25484b9805224c56f25f7a755
23 +https://bugs.gentoo.org/854561
24 +
25 +From: Greg Hudson <ghudson@×××.edu>
26 +Date: Tue, 29 Mar 2022 16:27:55 -0400
27 +Subject: [PATCH] Include time.h in kdb.h
28 +
29 +kdb.h uses time_t, and therefore must include <time.h> to ensure its
30 +definition. Noticed when building t_sort_key_data.c on macOS.
31 +--- a/include/kdb.h
32 ++++ b/include/kdb.h
33 +@@ -65,6 +65,7 @@
34 + #ifndef KRB5_KDB5__
35 + #define KRB5_KDB5__
36 +
37 ++#include <time.h>
38 + #include <krb5.h>
39 +
40 + /* This version will be incremented when incompatible changes are made to the
41 +