~ruther/guix-local

ref: 2cda76b2f43c8cb2ab5fa2fbc456e7aa14a01210 guix-local/gnu/packages/patches/libaio-32bit-test.patch -rw-r--r-- 626 bytes
2cda76b2 — Sharlatan Hellseher gnu: unicorn: Disable missing tests. 1 year, 13 days ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
This fix comes from an upstream pull request, see
https://pagure.io/libaio/pull-request/22#commit_list

diff --git a/harness/cases/23.t b/harness/cases/23.t
index cc5a8a1..9bbb05c 100644
--- a/harness/cases/23.t
+++ b/harness/cases/23.t
@@ -72,7 +72,7 @@ static void fail_errno(const char *format, ...)
 static void *thrproc2(void *arg)
 {
 	for (;;) {
-		off_t offset = 0;
+		off64_t offset = 0;
 
 		pthread_barrier_wait(&barrier);
 		if (exiting)
@@ -92,7 +92,7 @@ static void *thrproc3(void *arg)
 {
 	for (;;) {
 		char c;
-		off_t offset = 0;
+		off64_t offset = 0;
 
 		pthread_barrier_wait(&barrier);
 		if (exiting)