devel/strace: fix build on mpc85xx target
authorAlexandru Ardelean <ardeleanalex@gmail.com>
Fri, 4 Nov 2016 15:59:08 +0000 (17:59 +0200)
committerFelix Fietkau <nbd@nbd.name>
Tue, 8 Nov 2016 04:49:58 +0000 (05:49 +0100)
commit519a199cbcc0930e229ddd7087309326a846bdce
tree1960b5134da566c8b7ea2192827e2482655649a7
parent862e7fb7b31fa0fffeeecd51dd852fce91db2b47
devel/strace: fix build on mpc85xx target

builbot faillog:
https://downloads.lede-project.org/snapshots/faillogs/powerpc_8540/base/strace/compile.txt

Seems that for PPC, the <linux/ptrace.h> header [from uapi] collides
with musl's <sys/user.h>, for the pt_regs struct.

Seems I tried to upstream this patch a while back:
https://lists.openwrt.org/pipermail/openwrt-devel/2016-April/041093.html

It seems to work on current LEDE trunk too.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
package/devel/strace/patches/100-workaround--pt-reg-collisions-ppc.patch [new file with mode: 0644]