psmisc: add ppc64 musl patch
This commit is contained in:
parent
a529cf9c7a
commit
05571b602f
1 changed files with 20 additions and 0 deletions
20
srcpkgs/psmisc/patches/musl_ptregs.patch
Normal file
20
srcpkgs/psmisc/patches/musl_ptregs.patch
Normal file
|
@ -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
|
||||
===================================================================
|
||||
--- src/peekfd.c.old
|
||||
+++ 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>
|
||||
|
Loading…
Reference in a new issue