mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-07 15:43:49 +02:00
strace: fix build on ppc*-musl
[ci skip] Closes: #12363 [via git-merge-pr]
This commit is contained in:
parent
7c47416f19
commit
26b551da7b
1 changed files with 16 additions and 0 deletions
16
srcpkgs/strace/patches/ppc-musl.patch
Normal file
16
srcpkgs/strace/patches/ppc-musl.patch
Normal file
|
@ -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 <sys/user.h>
|
||||||
|
+# undef pt_regs
|
||||||
|
+#else
|
||||||
|
+# include <sys/user.h>
|
||||||
|
+#endif
|
||||||
|
# include "arch_regs.h"
|
||||||
|
|
||||||
|
#endif /* !STRACE_REGS_H */
|
Loading…
Add table
Reference in a new issue