diff options
author | Sam James <sam@gentoo.org> | 2022-09-02 06:53:42 +0100 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2022-09-02 06:53:42 +0100 |
commit | 09d8637beeecaf66e01bd132663e1efe3637c8da (patch) | |
tree | 4c0b9652445027f81a8d5abc3c04914231c406c8 /app-crypt/mit-krb5/files | |
parent | app-backup/snapper: fix build w/ musl and gcc-12 (diff) | |
download | gentoo-09d8637beeecaf66e01bd132663e1efe3637c8da.tar.gz gentoo-09d8637beeecaf66e01bd132663e1efe3637c8da.tar.bz2 gentoo-09d8637beeecaf66e01bd132663e1efe3637c8da.zip |
app-crypt/mit-krb5: commit patch
Fixes: 1df08748602b2f8fac92f1c1bfb236c13d456fc6
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'app-crypt/mit-krb5/files')
-rw-r--r-- | app-crypt/mit-krb5/files/mit-krb5-1.20-missing-time-include.patch | 20 |
1 files changed, 20 insertions, 0 deletions
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 new file mode 100644 index 000000000000..a8a495699129 --- /dev/null +++ b/app-crypt/mit-krb5/files/mit-krb5-1.20-missing-time-include.patch @@ -0,0 +1,20 @@ +https://github.com/krb5/krb5/commit/c3958cec43b598b25484b9805224c56f25f7a755 +https://bugs.gentoo.org/854561 + +From: Greg Hudson <ghudson@mit.edu> +Date: Tue, 29 Mar 2022 16:27:55 -0400 +Subject: [PATCH] Include time.h in kdb.h + +kdb.h uses time_t, and therefore must include <time.h> to ensure its +definition. Noticed when building t_sort_key_data.c on macOS. +--- a/include/kdb.h ++++ b/include/kdb.h +@@ -65,6 +65,7 @@ + #ifndef KRB5_KDB5__ + #define KRB5_KDB5__ + ++#include <time.h> + #include <krb5.h> + + /* This version will be incremented when incompatible changes are made to the + |