forked from pool/dovecot23
- added 10048229...de42b54a.patch:
Fix build failures on TW i586 OBS-URL: https://build.opensuse.org/package/show/server:mail/dovecot23?expand=0&rev=32
This commit is contained in:
parent
a5908002a7
commit
16852df8e8
102
10048229...de42b54a.patch
Normal file
102
10048229...de42b54a.patch
Normal file
@ -0,0 +1,102 @@
|
||||
From 10048229ed3030fe47b35a2200e33c45e3e97a84 Mon Sep 17 00:00:00 2001
|
||||
From: Aki Tuomi <aki.tuomi@dovecot.fi>
|
||||
Date: Fri, 23 Nov 2018 15:33:20 +0200
|
||||
Subject: [PATCH 1/2] lib-master: test-event-stats - Include signal.h
|
||||
|
||||
Forgotten in e16ba6f
|
||||
---
|
||||
src/lib-master/test-event-stats.c | 1 +
|
||||
1 file changed, 1 insertion(+)
|
||||
|
||||
diff --git a/src/lib-master/test-event-stats.c b/src/lib-master/test-event-stats.c
|
||||
index 41d6f01e76..8fcb3dd22d 100644
|
||||
--- a/src/lib-master/test-event-stats.c
|
||||
+++ b/src/lib-master/test-event-stats.c
|
||||
@@ -13,6 +13,7 @@
|
||||
#include "test-common.h"
|
||||
#include <fcntl.h>
|
||||
#include <unistd.h>
|
||||
+#include <signal.h>
|
||||
#include <sys/socket.h>
|
||||
#include <sys/un.h>
|
||||
#include <sys/wait.h>
|
||||
|
||||
From de42b54aaf165d4f62b45be864dde36bdbbc4276 Mon Sep 17 00:00:00 2001
|
||||
From: Aki Tuomi <aki.tuomi@dovecot.fi>
|
||||
Date: Fri, 23 Nov 2018 15:34:51 +0200
|
||||
Subject: [PATCH 2/2] lib-master: test-event-stats - Use PRIu64 format
|
||||
|
||||
Forgotten in e16ba6f
|
||||
---
|
||||
src/lib-master/test-event-stats.c | 22 +++++++++++-----------
|
||||
1 file changed, 11 insertions(+), 11 deletions(-)
|
||||
|
||||
diff --git a/src/lib-master/test-event-stats.c b/src/lib-master/test-event-stats.c
|
||||
index 8fcb3dd22d..2d8a13cd40 100644
|
||||
--- a/src/lib-master/test-event-stats.c
|
||||
+++ b/src/lib-master/test-event-stats.c
|
||||
@@ -344,7 +344,7 @@ static void test_no_merging2(void)
|
||||
event_unref(&child_ev);
|
||||
test_assert(
|
||||
compare_test_stats_to(
|
||||
- "EVENT %lu 1 0 0"
|
||||
+ "EVENT %"PRIu64" 1 0 0"
|
||||
" stest-event-stats.c %d"
|
||||
" l0 0 ctest2\n", id, l));
|
||||
test_end();
|
||||
@@ -370,12 +370,12 @@ static void test_no_merging3(void)
|
||||
event_unref(&child_ev);
|
||||
test_assert(
|
||||
compare_test_stats_to(
|
||||
- "BEGIN %lu 0 1 0 0"
|
||||
+ "BEGIN %"PRIu64" 0 1 0 0"
|
||||
" stest-event-stats.c %d ctest1\n"
|
||||
- "EVENT %lu 1 1 0"
|
||||
+ "EVENT %"PRIu64" 1 1 0"
|
||||
" stest-event-stats.c %d"
|
||||
" l1 0 ctest2\n"
|
||||
- "END\t%lu\n", idp, lp, idp, l, idp));
|
||||
+ "END\t%"PRIu64"\n", idp, lp, idp, l, idp));
|
||||
test_end();
|
||||
}
|
||||
|
||||
@@ -435,7 +435,7 @@ static void test_merge_events2(void)
|
||||
event_unref(&merge_ev2);
|
||||
test_assert(
|
||||
compare_test_stats_to(
|
||||
- "EVENT %lu 1 0 0"
|
||||
+ "EVENT %"PRIu64" 1 0 0"
|
||||
" stest-event-stats.c %d l0 0"
|
||||
" ctest3 ctest2 ctest1 Tkey3"
|
||||
" 10 0 Ikey2 20"
|
||||
@@ -467,11 +467,11 @@ static void test_skip_parents(void)
|
||||
event_unref(&child_ev);
|
||||
test_assert(
|
||||
compare_test_stats_to(
|
||||
- "BEGIN %lu 0 1 0 0"
|
||||
+ "BEGIN %"PRIu64" 0 1 0 0"
|
||||
" stest-event-stats.c %d ctest1\n"
|
||||
- "EVENT %lu 1 3 0 "
|
||||
+ "EVENT %"PRIu64" 1 3 0 "
|
||||
"stest-event-stats.c %d l3 0"
|
||||
- " ctest2\nEND\t%lu\n", id, lp, id, l, id));
|
||||
+ " ctest2\nEND\t%"PRIu64"\n", id, lp, id, l, id));
|
||||
test_end();
|
||||
}
|
||||
|
||||
@@ -509,12 +509,12 @@ static void test_merge_events_skip_parents(void)
|
||||
event_unref(&child2_ev);
|
||||
test_assert(
|
||||
compare_test_stats_to(
|
||||
- "BEGIN %lu 0 1 0 0"
|
||||
+ "BEGIN %"PRIu64" 0 1 0 0"
|
||||
" stest-event-stats.c %d ctest1\n"
|
||||
- "EVENT %lu 1 3 0 "
|
||||
+ "EVENT %"PRIu64" 1 3 0 "
|
||||
"stest-event-stats.c %d l3 0 "
|
||||
"ctest4 ctest5 Tkey3 10 0 Skey4"
|
||||
- " str4\nEND\t%lu\n", id, lp, id, l, id));
|
||||
+ " str4\nEND\t%"PRIu64"\n", id, lp, id, l, id));
|
||||
test_end();
|
||||
}
|
||||
|
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Sun Nov 25 00:17:08 UTC 2018 - Marcus Rueckert <mrueckert@suse.de>
|
||||
|
||||
- added 10048229...de42b54a.patch:
|
||||
Fix build failures on TW i586
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Nov 24 00:27:59 UTC 2018 - Marcus Rueckert <mrueckert@suse.de>
|
||||
|
||||
|
@ -136,6 +136,7 @@ Source11: http://pigeonhole.dovecot.org/releases/%{dovecot_branch}/%{dovec
|
||||
Source12: dovecot23.keyring
|
||||
Patch: dovecot-2.3.0-dont_use_etc_ssl_certs.patch
|
||||
Patch1: dovecot-2.3.0-better_ssl_defaults.patch
|
||||
Patch2: 10048229...de42b54a.patch
|
||||
Summary: IMAP and POP3 Server Written Primarily with Security in Mind
|
||||
License: BSD-3-Clause AND LGPL-2.1-or-later AND MIT
|
||||
Group: Productivity/Networking/Email/Servers
|
||||
@ -315,6 +316,7 @@ dovecot tree.
|
||||
%setup -q -n %{pkg_name}-%{dovecot_version} -a 1
|
||||
%patch -p1
|
||||
%patch1 -p1
|
||||
%patch2 -p1
|
||||
gzip -9v ChangeLog
|
||||
# Fix plugins dir.
|
||||
sed -i 's|#mail_plugin_dir = /usr/lib/dovecot|mail_plugin_dir = %{_libdir}/dovecot/modules|' doc/example-config/conf.d/10-mail.conf
|
||||
|
Loading…
Reference in New Issue
Block a user