radare2: fix build on ppc32
This commit is contained in:
parent
fa9095b5ca
commit
2e1e4f7d37
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…
Reference in New Issue
Block a user