termux-packages/packages/strace/sigreturn.c.patch
2021-02-24 15:11:02 +00:00

20 lines
598 B
Diff

--- 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
@@ -14,14 +14,16 @@
# include <asm/sigcontext.h>
#endif
+#if !(defined(__ANDROID__) && (defined(__arm__) || defined(__aarch64__)))
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_))