summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/strace/strace/mips-SIGEMT.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-devtools/strace/strace/mips-SIGEMT.patch')
-rw-r--r--meta/recipes-devtools/strace/strace/mips-SIGEMT.patch33
1 files changed, 0 insertions, 33 deletions
diff --git a/meta/recipes-devtools/strace/strace/mips-SIGEMT.patch b/meta/recipes-devtools/strace/strace/mips-SIGEMT.patch
deleted file mode 100644
index e86da9707c..0000000000
--- a/meta/recipes-devtools/strace/strace/mips-SIGEMT.patch
+++ /dev/null
@@ -1,33 +0,0 @@
1From 794648d84672bbda30a920a05540b56cd155ed9d Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Sun, 7 Aug 2016 23:47:57 -0700
4Subject: [PATCH] strace: Fix build with mips/mips64 on musl
5
6SIGEMT is not defined everywhere e.g musl does
7not define it. Therefore check it being defined
8before using it.
9
10Fixes errors e.g.
11../../strace-4.13/tests/signal2name.c:45:7: error: 'SIGEMT' undeclared (first use in this function)
12
13Signed-off-by: Khem Raj <raj.khem@gmail.com>
14Upstream-Status: Pending
15
16---
17 tests/signal2name.c | 2 ++
18 1 file changed, 2 insertions(+)
19
20diff --git a/tests/signal2name.c b/tests/signal2name.c
21index 1d8e7c5..6722aa1 100644
22--- a/tests/signal2name.c
23+++ b/tests/signal2name.c
24@@ -49,7 +49,9 @@ signal2name(int sig)
25 CASE(SIGEMT);
26 CASE(SIGLOST);
27 #elif defined MIPS
28+#ifdef SIGEMT
29 CASE(SIGEMT);
30+#endif
31 CASE(SIGIOT);
32 CASE(SIGPWR);
33 #else