Add patch to fix some test issues on big-endian machines.
This commit is contained in:
parent
5d37ee86be
commit
c43a3db86d
1
.gitignore
vendored
1
.gitignore
vendored
@ -6,3 +6,4 @@
|
|||||||
/cyrus-imapd-*/
|
/cyrus-imapd-*/
|
||||||
/cassandane-testdata-20170523.tar.gz
|
/cassandane-testdata-20170523.tar.gz
|
||||||
/cassandane-b97ba9c.tar.gz
|
/cassandane-b97ba9c.tar.gz
|
||||||
|
/cassandane-0a6c13e.tar.gz
|
||||||
|
@ -25,6 +25,8 @@ License: BSD
|
|||||||
URL: http://www.cyrusimap.org/
|
URL: http://www.cyrusimap.org/
|
||||||
Source0: http://www.cyrusimap.org/releases/%name-%version.tar.gz
|
Source0: http://www.cyrusimap.org/releases/%name-%version.tar.gz
|
||||||
|
|
||||||
|
Patch0: patch-cyrus-testsuite-endianness
|
||||||
|
|
||||||
Source10: cyrus-imapd.logrotate
|
Source10: cyrus-imapd.logrotate
|
||||||
Source11: cyrus-imapd.pam-config
|
Source11: cyrus-imapd.pam-config
|
||||||
Source12: cyrus-imapd.sysconfig
|
Source12: cyrus-imapd.sysconfig
|
||||||
|
22
patch-cyrus-testsuite-endianness
Normal file
22
patch-cyrus-testsuite-endianness
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
diff --git a/cunit/timeout.c b/cunit/timeout.c
|
||||||
|
index f02c9ac..a444ac8 100644
|
||||||
|
--- a/cunit/timeout.c
|
||||||
|
+++ b/cunit/timeout.c
|
||||||
|
@@ -197,7 +197,7 @@ int timeout_init(void (*cb)(void))
|
||||||
|
|
||||||
|
int timeout_begin(int millisec)
|
||||||
|
{
|
||||||
|
- int c;
|
||||||
|
+ char c;
|
||||||
|
int r;
|
||||||
|
|
||||||
|
// fprintf(stderr, "timeout_begin\n");
|
||||||
|
@@ -220,7 +220,7 @@ int timeout_begin(int millisec)
|
||||||
|
|
||||||
|
int timeout_end(void)
|
||||||
|
{
|
||||||
|
- int c;
|
||||||
|
+ char c;
|
||||||
|
int r;
|
||||||
|
|
||||||
|
// fprintf(stderr, "timeout_end\n");
|
Loading…
Reference in New Issue
Block a user