summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/systemd/systemd/0010-test-sizeof.c-Disable-tests-for-missing-typedefs-in-.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-core/systemd/systemd/0010-test-sizeof.c-Disable-tests-for-missing-typedefs-in-.patch')
-rw-r--r--meta/recipes-core/systemd/systemd/0010-test-sizeof.c-Disable-tests-for-missing-typedefs-in-.patch49
1 files changed, 0 insertions, 49 deletions
diff --git a/meta/recipes-core/systemd/systemd/0010-test-sizeof.c-Disable-tests-for-missing-typedefs-in-.patch b/meta/recipes-core/systemd/systemd/0010-test-sizeof.c-Disable-tests-for-missing-typedefs-in-.patch
deleted file mode 100644
index 808c83aba3..0000000000
--- a/meta/recipes-core/systemd/systemd/0010-test-sizeof.c-Disable-tests-for-missing-typedefs-in-.patch
+++ /dev/null
@@ -1,49 +0,0 @@
1From 6e9d2bcaa6f886b2384c1c35a04e4ebc148aea68 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Mon, 23 Oct 2017 12:40:25 -0700
4Subject: [PATCH 10/12] test-sizeof.c: Disable tests for missing typedefs in
5 musl
6
7Signed-off-by: Khem Raj <raj.khem@gmail.com>
8---
9Upstream-Status: Pending
10
11 src/test/test-sizeof.c | 5 ++++-
12 1 file changed, 4 insertions(+), 1 deletion(-)
13
14diff --git a/src/test/test-sizeof.c b/src/test/test-sizeof.c
15index 269adfd18..ba7855dff 100644
16--- a/src/test/test-sizeof.c
17+++ b/src/test/test-sizeof.c
18@@ -18,7 +18,6 @@
19 ***/
20
21 #include <stdio.h>
22-
23 #include "time-util.h"
24
25 /* Print information about various types. Useful when diagnosing
26@@ -48,8 +47,10 @@ int main(void) {
27 info(unsigned);
28 info(long unsigned);
29 info(long long unsigned);
30+#ifdef __GLIBC__
31 info(__syscall_ulong_t);
32 info(__syscall_slong_t);
33+#endif
34
35 info(float);
36 info(double);
37@@ -59,7 +60,9 @@ int main(void) {
38 info(ssize_t);
39 info(time_t);
40 info(usec_t);
41+#ifdef __GLIBC__
42 info(__time_t);
43+#endif
44
45 info(enum Enum);
46 info(enum BigEnum);
47--
482.14.2
49