radare2: update to 1.4.0.

This commit is contained in:
Enno Boland 2017-04-18 20:29:54 +02:00
parent aa2e133cb5
commit 123fea2d42
2 changed files with 2 additions and 26 deletions

View file

@ -1,24 +0,0 @@
From d9d5f79278c0413582e056850184cb5ee0767727 Mon Sep 17 00:00:00 2001
From: Levente Polyak <levente@leventepolyak.net>
Date: Mon, 13 Mar 2017 17:59:26 +0100
Subject: [PATCH] Fix capstone3 build regression introduced in
7722c0ae84967530e902b271b0eeb7b39964fa9a (#7020)
---
libr/anal/p/anal_x86_cs.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/libr/anal/p/anal_x86_cs.c b/libr/anal/p/anal_x86_cs.c
index 47e288f..dfdc071 100644
--- libr/anal/p/anal_x86_cs.c
+++ libr/anal/p/anal_x86_cs.c
@@ -72,7 +72,9 @@ static void opex(RStrBuf *buf, csh handle, cs_insn *insn) {
r_strbuf_append (buf, ",");
}
r_strbuf_appendf (buf, "{\"size\":%d", op->size);
+#if CS_API_MAJOR >= 4
r_strbuf_appendf (buf, ",\"rw\":%d", op->access); // read , write, read|write
+#endif
switch (op->type) {
case X86_OP_REG:
r_strbuf_appendf (buf, ",\"type\":\"reg\"");

View file

@ -1,6 +1,6 @@
# Template file for 'radare2'
pkgname=radare2
version=1.3.0
version=1.4.0
revision=1
build_style=gnu-configure
configure_args="--with-syscapstone"
@ -11,4 +11,4 @@ maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="LGPL-3"
homepage="http://www.radare.org"
distfiles="https://github.com/radare/radare2/archive/${version}.tar.gz"
checksum=37b479224b4acd0159bd8dd1e02da0b250c8c33c17a3b6d7f7bbeb9b975fa749
checksum=fb58417a6d35af4096da9130a041e1d36f900b17e2c2594b405a9b88ce33c7a8