summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/strace/strace/0001-Fix-build-when-using-non-glibc-libc-implementation-o.patch
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2019-07-23 19:43:45 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2019-07-26 08:40:54 +0100
commitabeb32772b8b3a144e468e5a27b1a31f646317e4 (patch)
tree46081f1dfd665eb396061600359a18c2678cd8a6 /meta/recipes-devtools/strace/strace/0001-Fix-build-when-using-non-glibc-libc-implementation-o.patch
parent60bc7e180e2d44ac026e5537552a567784dc506a (diff)
downloadopenembedded-core-contrib-abeb32772b8b3a144e468e5a27b1a31f646317e4.tar.gz
strace: Upgrade to 5.2
License-Updtate: Copyright years changed https://github.com/strace/strace/commit/4b4a0e5a6e74e16dc2bb9b38d81415d9f57425d2#diff-7116ef0705885343c9e1b2171a06be0e Drop backport patch for mips o32 build fix Refresh patches to apply on 5.2 Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/strace/strace/0001-Fix-build-when-using-non-glibc-libc-implementation-o.patch')
-rw-r--r--meta/recipes-devtools/strace/strace/0001-Fix-build-when-using-non-glibc-libc-implementation-o.patch13
1 files changed, 5 insertions, 8 deletions
diff --git a/meta/recipes-devtools/strace/strace/0001-Fix-build-when-using-non-glibc-libc-implementation-o.patch b/meta/recipes-devtools/strace/strace/0001-Fix-build-when-using-non-glibc-libc-implementation-o.patch
index daafceb37b..fb5f72529f 100644
--- a/meta/recipes-devtools/strace/strace/0001-Fix-build-when-using-non-glibc-libc-implementation-o.patch
+++ b/meta/recipes-devtools/strace/strace/0001-Fix-build-when-using-non-glibc-libc-implementation-o.patch
@@ -13,22 +13,19 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
ptrace.h | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
-diff --git a/ptrace.h b/ptrace.h
-index 89d4b95..b3f45bb 100644
--- a/ptrace.h
+++ b/ptrace.h
@@ -30,7 +30,13 @@
- # define ptrace_peeksiginfo_args XXX_ptrace_peeksiginfo_args
- #endif
+ # define ptrace_peeksiginfo_args XXX_ptrace_peeksiginfo_args
+ # endif
--#include <linux/ptrace.h>
+#if defined(POWERPC) && !defined(__GLIBC__)
+#define pt_regs uapi_pt_regs
+#endif
-+# include <linux/ptrace.h>
+ # include <linux/ptrace.h>
+#if defined(POWERPC) && !defined(__GLIBC__)
+# undef pt_regs
+#endif
- #ifdef HAVE_STRUCT_IA64_FPREG
- # undef ia64_fpreg
+ # ifdef HAVE_STRUCT_IA64_FPREG
+ # undef ia64_fpreg