diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2017-09-19 20:56:58 -0500 |
---|---|---|
committer | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2017-09-19 20:56:58 -0500 |
commit | d9ac52b688c7adfc31c678a7cbc5a1e5c917fb6c (patch) | |
tree | 2b138a61effd2127a9e34e0ac4fc8f645210efed /user/psmisc/musl_ptregs.patch | |
parent | c1b45618cb9dc0b63e3ada231ad7de3e9698ef29 (diff) | |
download | packages-d9ac52b688c7adfc31c678a7cbc5a1e5c917fb6c.tar.gz packages-d9ac52b688c7adfc31c678a7cbc5a1e5c917fb6c.tar.bz2 packages-d9ac52b688c7adfc31c678a7cbc5a1e5c917fb6c.tar.xz packages-d9ac52b688c7adfc31c678a7cbc5a1e5c917fb6c.zip |
user/psmisc: fix build on PowerPC
Diffstat (limited to 'user/psmisc/musl_ptregs.patch')
-rw-r--r-- | user/psmisc/musl_ptregs.patch | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/user/psmisc/musl_ptregs.patch b/user/psmisc/musl_ptregs.patch new file mode 100644 index 000000000..29fee6a2a --- /dev/null +++ b/user/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> + |