recipes: Preserve warnings flags appending the C flags in some (specific) recipes
[dragora.git] / patches / libaio / 0001-syscall-Fix-ARM-definitions-to-match-exactly-the-ker.patch
blobd814a75edefedbe1a2e8053ef5082ac4f62b23a4
1 From cb1a595e89837b342a8cfd1ace73537c9563fedb Mon Sep 17 00:00:00 2001
2 From: Guillem Jover <guillem@hadrons.org>
3 Date: Sun, 12 Apr 2020 03:39:47 +0200
4 Subject: [PATCH libaio 01/11] syscall: Fix ARM definitions to match exactly
5 the kernel
7 Otherwise we get preprocessor warnings due to the redefinitions.
9 Signed-off-by: Guillem Jover <guillem@hadrons.org>
10 ---
11 src/syscall-arm.h | 10 +++++-----
12 1 file changed, 5 insertions(+), 5 deletions(-)
14 diff --git a/src/syscall-arm.h b/src/syscall-arm.h
15 index 556852b..315a37b 100644
16 --- a/src/syscall-arm.h
17 +++ b/src/syscall-arm.h
18 @@ -19,8 +19,8 @@
19 #define __NR_SYSCALL_BASE __NR_OABI_SYSCALL_BASE
20 #endif
22 -#define __NR_io_setup (__NR_SYSCALL_BASE+243)
23 -#define __NR_io_destroy (__NR_SYSCALL_BASE+244)
24 -#define __NR_io_getevents (__NR_SYSCALL_BASE+245)
25 -#define __NR_io_submit (__NR_SYSCALL_BASE+246)
26 -#define __NR_io_cancel (__NR_SYSCALL_BASE+247)
27 +#define __NR_io_setup (__NR_SYSCALL_BASE + 243)
28 +#define __NR_io_destroy (__NR_SYSCALL_BASE + 244)
29 +#define __NR_io_getevents (__NR_SYSCALL_BASE + 245)
30 +#define __NR_io_submit (__NR_SYSCALL_BASE + 246)
31 +#define __NR_io_cancel (__NR_SYSCALL_BASE + 247)
32 --
33 2.26.0.292.g33ef6b2f38