diff options
Diffstat (limited to 'system/psmisc/musl_ptregs.patch')
-rw-r--r-- | system/psmisc/musl_ptregs.patch | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/system/psmisc/musl_ptregs.patch b/system/psmisc/musl_ptregs.patch new file mode 100644 index 000000000..29fee6a2a --- /dev/null +++ b/system/psmisc/musl_ptregs.patch @@ -0,0 +1,20 @@ +Author: Breno Leitao <brenohl@br.ibm.com> +Date: Thu Apr 6 14:03:00 2017 -0300 + + peekfd: Avoid pt_regs clash + +Index: psmisc-22.21/src/peekfd.c +=================================================================== +--- a/src/peekfd.c.old ++++ b/src/peekfd.c +@@ -27,7 +27,9 @@ + #include <sys/types.h> + #include <sys/wait.h> + #include <sys/syscall.h> ++#define pt_regs uapi_pt_regs + #include <asm/ptrace.h> ++#undef pt_regs + #include <byteswap.h> + #include <endian.h> + #include <sys/user.h> + |