diff options
Diffstat (limited to 'net-mail/dovecot/files/dovecot-2.3.13-32-bit-tests-2.patch')
-rw-r--r-- | net-mail/dovecot/files/dovecot-2.3.13-32-bit-tests-2.patch | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/net-mail/dovecot/files/dovecot-2.3.13-32-bit-tests-2.patch b/net-mail/dovecot/files/dovecot-2.3.13-32-bit-tests-2.patch new file mode 100644 index 000000000000..8956773b43ef --- /dev/null +++ b/net-mail/dovecot/files/dovecot-2.3.13-32-bit-tests-2.patch @@ -0,0 +1,27 @@ +https://bugs.gentoo.org/764713 +https://github.com/dovecot/core/commit/01366bd18ea98bf6979328ff8580488920a33f0c + +From 01366bd18ea98bf6979328ff8580488920a33f0c Mon Sep 17 00:00:00 2001 +From: Aki Tuomi <aki.tuomi@open-xchange.com> +Date: Thu, 4 Feb 2021 08:44:46 +0200 +Subject: [PATCH] lib: test-time-util - Use correct types for test case + +Fixes type mismatch on 32-bit systems. +--- + src/lib/test-time-util.c | 3 ++- + 1 file changed, 2 insertions(+), 1 deletion(-) + +diff --git a/src/lib/test-time-util.c b/src/lib/test-time-util.c +index cfa322048e..139db0ec5d 100644 +--- a/src/lib/test-time-util.c ++++ b/src/lib/test-time-util.c +@@ -358,7 +358,8 @@ static void test_str_to_timeval(void) + { + struct { + const char *str; +- unsigned int tv_sec, tv_usec; ++ time_t tv_sec; ++ suseconds_t tv_usec; + } tests[] = { + { "0", 0, 0 }, + { "0.0", 0, 0 }, |