diff options
Diffstat (limited to 'meta/recipes-core/systemd/systemd/0021-test-sizeof.c-Disable-tests-for-missing-typedefs-in-.patch')
-rw-r--r-- | meta/recipes-core/systemd/systemd/0021-test-sizeof.c-Disable-tests-for-missing-typedefs-in-.patch | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/meta/recipes-core/systemd/systemd/0021-test-sizeof.c-Disable-tests-for-missing-typedefs-in-.patch b/meta/recipes-core/systemd/systemd/0021-test-sizeof.c-Disable-tests-for-missing-typedefs-in-.patch new file mode 100644 index 0000000000..9c8aeca9a5 --- /dev/null +++ b/meta/recipes-core/systemd/systemd/0021-test-sizeof.c-Disable-tests-for-missing-typedefs-in-.patch | |||
@@ -0,0 +1,42 @@ | |||
1 | From dfea4b98844795a0cd14fdaf40c67df389dbd27e Mon Sep 17 00:00:00 2001 | ||
2 | From: Chen Qi <Qi.Chen@windriver.com> | ||
3 | Date: Wed, 28 Feb 2018 21:25:22 -0800 | ||
4 | Subject: [PATCH 21/31] test-sizeof.c: Disable tests for missing typedefs in | ||
5 | musl | ||
6 | |||
7 | Upstream-Status: Pending | ||
8 | |||
9 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
10 | Signed-off-by: Chen Qi <Qi.Chen@windriver.com> | ||
11 | --- | ||
12 | src/test/test-sizeof.c | 4 ++++ | ||
13 | 1 file changed, 4 insertions(+) | ||
14 | |||
15 | diff --git a/src/test/test-sizeof.c b/src/test/test-sizeof.c | ||
16 | index aed6db842..0de6fa63c 100644 | ||
17 | --- a/src/test/test-sizeof.c | ||
18 | +++ b/src/test/test-sizeof.c | ||
19 | @@ -50,8 +50,10 @@ int main(void) { | ||
20 | info(unsigned); | ||
21 | info(long unsigned); | ||
22 | info(long long unsigned); | ||
23 | +#ifdef __GLIBC__ | ||
24 | info(__syscall_ulong_t); | ||
25 | info(__syscall_slong_t); | ||
26 | +#endif | ||
27 | |||
28 | info(float); | ||
29 | info(double); | ||
30 | @@ -61,7 +63,9 @@ int main(void) { | ||
31 | info(ssize_t); | ||
32 | info(time_t); | ||
33 | info(usec_t); | ||
34 | +#ifdef __GLIBC__ | ||
35 | info(__time_t); | ||
36 | +#endif | ||
37 | info(pid_t); | ||
38 | info(uid_t); | ||
39 | info(gid_t); | ||
40 | -- | ||
41 | 2.13.0 | ||
42 | |||