mirror of
https://github.com/void-linux/void-packages.git
synced 2025-07-31 18:02:57 +02:00
radare2: fix build on ppc32
This commit is contained in:
parent
fa9095b5ca
commit
2e1e4f7d37
1 changed files with 13 additions and 0 deletions
13
srcpkgs/radare2/patches/ppc.patch
Normal file
13
srcpkgs/radare2/patches/ppc.patch
Normal file
|
@ -0,0 +1,13 @@
|
|||
--- a/libr/anal/p/anal_ppc_cs.c
|
||||
+++ b/libr/anal/p/anal_ppc_cs.c
|
||||
@@ -596,6 +596,10 @@ static char *shrink(char *op) {
|
||||
return op;
|
||||
}
|
||||
|
||||
+#ifdef PPC
|
||||
+#undef PPC
|
||||
+#endif
|
||||
+
|
||||
#define CSINC PPC
|
||||
#define CSINC_MODE \
|
||||
((a->config->bits == 64) ? CS_MODE_64 : (a->config->bits == 32) ? CS_MODE_32 : 0) \
|
Loading…
Add table
Reference in a new issue