termux-packages/packages/strace/sigreturn.c.patch

21 lines
674 B
Diff
Raw Normal View History

2021-02-24 16:11:02 +01:00
--- strace-5.11/src/sigreturn.c 2021-02-16 08:00:00.000000000 +0000
+++ strace-5.11.mod/src/sigreturn.c 2021-02-24 13:57:17.100000000 +0000
2022-01-16 04:20:37 +01:00
@@ -14,15 +14,17 @@
2021-02-24 16:11:02 +01:00
# include <asm/sigcontext.h>
#endif
+#if !(defined(__ANDROID__) && (defined(__arm__) || defined(__aarch64__)))
2022-01-16 04:20:37 +01:00
/* The following function might be unused, hence the inline qualifier. */
2021-02-24 16:11:02 +01:00
static inline void
print_sigmask_addr_size(const void *const addr, const unsigned int size)
{
tprint_struct_begin();
tprints_field_name("mask");
tprints(sprintsigmask_n("", addr, size));
tprint_struct_end();
}
+#endif
#define tprintsigmask_addr(mask_) \
print_sigmask_addr_size((mask_), sizeof(mask_))