mirror of
https://git.yoctoproject.org/poky
synced 2026-03-06 15:29:40 +01:00
Update strace to 5.5. This includes a small change in the license file to change the date to 2020. (From OE-Core rev: 3e1e8d24ce122ddb5897418d1bae123051e1f450) Signed-off-by: Alistair Francis <alistair.francis@wdc.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
34 lines
881 B
Diff
34 lines
881 B
Diff
From 794648d84672bbda30a920a05540b56cd155ed9d Mon Sep 17 00:00:00 2001
|
|
From: Khem Raj <raj.khem@gmail.com>
|
|
Date: Sun, 7 Aug 2016 23:47:57 -0700
|
|
Subject: [PATCH] strace: Fix build with mips/mips64 on musl
|
|
|
|
SIGEMT is not defined everywhere e.g musl does
|
|
not define it. Therefore check it being defined
|
|
before using it.
|
|
|
|
Fixes errors e.g.
|
|
../../strace-4.13/tests/signal2name.c:45:7: error: 'SIGEMT' undeclared (first use in this function)
|
|
|
|
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
Upstream-Status: Pending
|
|
|
|
---
|
|
tests/signal2name.c | 2 ++
|
|
1 file changed, 2 insertions(+)
|
|
|
|
diff --git a/tests/signal2name.c b/tests/signal2name.c
|
|
index 1d8e7c5..6722aa1 100644
|
|
--- a/tests/signal2name.c
|
|
+++ b/tests/signal2name.c
|
|
@@ -49,7 +49,9 @@ signal2name(int sig)
|
|
CASE(SIGEMT);
|
|
CASE(SIGLOST);
|
|
#elif defined MIPS
|
|
+#ifdef SIGEMT
|
|
CASE(SIGEMT);
|
|
+#endif
|
|
CASE(SIGIOT);
|
|
CASE(SIGPWR);
|
|
#else
|