aboutsummaryrefslogtreecommitdiffstats
path: root/main/psmisc/musl_ptregs.patch
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2019-11-19 22:24:02 +0100
committerLeo <thinkabit.ukim@gmail.com>2019-11-19 22:24:19 +0100
commitb78188325ee5f07498f43bc60cc93b1ba785f13c (patch)
tree9d66602acaa5bbfed6022def5d46797479b8f103 /main/psmisc/musl_ptregs.patch
parent9d13a86c8caced107d393081fb6a4fed9d412bc1 (diff)
downloadaports-b78188325ee5f07498f43bc60cc93b1ba785f13c.tar.bz2
aports-b78188325ee5f07498f43bc60cc93b1ba785f13c.tar.xz
main/psmisc: move from community
Diffstat (limited to 'main/psmisc/musl_ptregs.patch')
-rw-r--r--main/psmisc/musl_ptregs.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/main/psmisc/musl_ptregs.patch b/main/psmisc/musl_ptregs.patch
new file mode 100644
index 0000000000..29fee6a2a1
--- /dev/null
+++ b/main/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>
+