summaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended/ltp/ltp/0027-sysconf01-Use-_SC_2_C_VERSION-conditionally.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-extended/ltp/ltp/0027-sysconf01-Use-_SC_2_C_VERSION-conditionally.patch')
-rw-r--r--meta/recipes-extended/ltp/ltp/0027-sysconf01-Use-_SC_2_C_VERSION-conditionally.patch32
1 files changed, 0 insertions, 32 deletions
diff --git a/meta/recipes-extended/ltp/ltp/0027-sysconf01-Use-_SC_2_C_VERSION-conditionally.patch b/meta/recipes-extended/ltp/ltp/0027-sysconf01-Use-_SC_2_C_VERSION-conditionally.patch
deleted file mode 100644
index adf6f27418..0000000000
--- a/meta/recipes-extended/ltp/ltp/0027-sysconf01-Use-_SC_2_C_VERSION-conditionally.patch
+++ /dev/null
@@ -1,32 +0,0 @@
1From 1471012164ba8f26046d4b1ce5531a0d92805ef5 Mon Sep 17 00:00:00 2001
2From: Dengke Du <dengke.du@windriver.com>
3Date: Wed, 8 Feb 2017 16:21:16 +0800
4Subject: [PATCH 4/5] sysconf01: Use _SC_2_C_VERSION conditionally
5
6_SC_2_C_VERSION is not available on musl
7
8Signed-off-by: Khem Raj <raj.khem@gmail.com>
9Signed-off-by: Dengke Du <dengke.du@windriver.com>
10
11Upstream-Status: Pending
12---
13 testcases/kernel/syscalls/sysconf/sysconf01.c | 2 ++
14 1 file changed, 2 insertions(+)
15
16diff --git a/testcases/kernel/syscalls/sysconf/sysconf01.c b/testcases/kernel/syscalls/sysconf/sysconf01.c
17index 583deef..de93695 100644
18--- a/testcases/kernel/syscalls/sysconf/sysconf01.c
19+++ b/testcases/kernel/syscalls/sysconf/sysconf01.c
20@@ -103,7 +103,9 @@ int main(void)
21 test_sysconf(_SC_2_C_BIND);
22 test_sysconf(_SC_2_C_DEV);
23 #ifdef _SC_2_C_VERSION
24+#ifdef __GLIBC__
25 test_sysconf(_SC_2_C_VERSION);
26+#endif
27 #else
28 tst_resm(TCONF, "_SC_2_C_VERSION not defined");
29 #endif
30--
312.7.4
32