summaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended/ltp/ltp/0007-fix-__WORDSIZE-undeclared-when-building-with-musl.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-extended/ltp/ltp/0007-fix-__WORDSIZE-undeclared-when-building-with-musl.patch')
-rw-r--r--meta/recipes-extended/ltp/ltp/0007-fix-__WORDSIZE-undeclared-when-building-with-musl.patch23
1 files changed, 12 insertions, 11 deletions
diff --git a/meta/recipes-extended/ltp/ltp/0007-fix-__WORDSIZE-undeclared-when-building-with-musl.patch b/meta/recipes-extended/ltp/ltp/0007-fix-__WORDSIZE-undeclared-when-building-with-musl.patch
index 8d0e73992f..2f4ca63750 100644
--- a/meta/recipes-extended/ltp/ltp/0007-fix-__WORDSIZE-undeclared-when-building-with-musl.patch
+++ b/meta/recipes-extended/ltp/ltp/0007-fix-__WORDSIZE-undeclared-when-building-with-musl.patch
@@ -1,30 +1,31 @@
1From a2639bd0f0d3f9f3049ee33e6710fed06225f54f Mon Sep 17 00:00:00 2001 1From d1a27570457fb6e1d6bafe81bfa0f3507b137e32 Mon Sep 17 00:00:00 2001
2From: Dengke Du <dengke.du@windriver.com> 2From: Dengke Du <dengke.du@windriver.com>
3Date: Thu, 9 Feb 2017 18:20:58 +0800 3Date: Thu, 9 Feb 2017 18:20:58 +0800
4Subject: [PATCH 1/2] fix __WORDSIZE undeclared when building with musl 4Subject: [PATCH] fix __WORDSIZE undeclared when building with musl
5 5
6fix __WORDSIZE undeclared when building with musl. 6fix __WORDSIZE undeclared when building with musl.
7 7
8Upstream-Status: Submitted [https://github.com/linux-test-project/ltp/pull/177]
9
8Signed-off-by: Dengke Du <dengke.du@windriver.com> 10Signed-off-by: Dengke Du <dengke.du@windriver.com>
9Upstream-Status: Pending
10--- 11---
11 include/old/test.h | 3 +++ 12 include/old/test.h | 3 +++
12 1 file changed, 3 insertions(+) 13 1 file changed, 3 insertions(+)
13 14
14diff --git a/include/old/test.h b/include/old/test.h 15diff --git a/include/old/test.h b/include/old/test.h
15index d492560..263e92e 100644 16index b36764d83..cc6f1b551 100644
16--- a/include/old/test.h 17--- a/include/old/test.h
17+++ b/include/old/test.h 18+++ b/include/old/test.h
18@@ -58,6 +58,9 @@ 19@@ -44,6 +44,9 @@
19 #include "tst_clone.h" 20 #include <string.h>
20 #include "old_device.h" 21 #include <stdlib.h>
21 #include "old_tmpdir.h" 22 #include <stdint.h>
22+#ifndef __GLIBC__ 23+#ifndef __GLIBC__
23+#include <bits/reg.h> 24+#include <bits/reg.h>
24+#endif 25+#endif
25 26
26 /* 27 #include "usctest.h"
27 * Ensure that NUMSIGS is defined. 28
28-- 29--
292.7.4 302.11.0
30 31