diff --git a/srcpkgs/strace/patches/ppc-musl.patch b/srcpkgs/strace/patches/ppc-musl.patch new file mode 100644 index 0000000000..511153f929 --- /dev/null +++ b/srcpkgs/strace/patches/ppc-musl.patch @@ -0,0 +1,16 @@ +--- regs.h ++++ regs.h +@@ -8,7 +8,13 @@ + #ifndef STRACE_REGS_H + # define STRACE_REGS_H + ++#if !defined(__GLIBC__) && defined(__powerpc__) ++# define pt_regs musl_pt_regs + # include ++# undef pt_regs ++#else ++# include ++#endif + # include "arch_regs.h" + + #endif /* !STRACE_REGS_H */