psmisc: add ppc64 musl patch

This commit is contained in:
q66 2018-12-21 14:08:31 +01:00 committed by Enno Boland
parent a529cf9c7a
commit 05571b602f

View 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>