diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2019-03-22 21:28:35 +0000 |
---|---|---|
committer | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2019-03-22 21:28:35 +0000 |
commit | 37cdc8fcf679a65b4180d26971ef75e0cdd12194 (patch) | |
tree | fd82c286885569fa1b4c985134cc7cc941dfc2a5 /system/psmisc/musl_ptregs.patch | |
parent | aa64aaf6421e56ecef3fc6b021ff216567cf14f2 (diff) | |
download | packages-37cdc8fcf679a65b4180d26971ef75e0cdd12194.tar.gz packages-37cdc8fcf679a65b4180d26971ef75e0cdd12194.tar.bz2 packages-37cdc8fcf679a65b4180d26971ef75e0cdd12194.tar.xz packages-37cdc8fcf679a65b4180d26971ef75e0cdd12194.zip |
system/psmisc: attempt to fix ARMv7 build
Diffstat (limited to 'system/psmisc/musl_ptregs.patch')
-rw-r--r-- | system/psmisc/musl_ptregs.patch | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/system/psmisc/musl_ptregs.patch b/system/psmisc/musl_ptregs.patch index 29fee6a2a..280181a58 100644 --- a/system/psmisc/musl_ptregs.patch +++ b/system/psmisc/musl_ptregs.patch @@ -7,13 +7,17 @@ Index: psmisc-22.21/src/peekfd.c =================================================================== --- a/src/peekfd.c.old +++ b/src/peekfd.c -@@ -27,7 +27,9 @@ +@@ -27,7 +27,13 @@ #include <sys/types.h> #include <sys/wait.h> #include <sys/syscall.h> ++#ifdef __PPC__ +#define pt_regs uapi_pt_regs ++#endif #include <asm/ptrace.h> ++#ifdef __PPC__ +#undef pt_regs ++#endif #include <byteswap.h> #include <endian.h> #include <sys/user.h> |