From b7a09680926eec8ae56136838943a2f919c9bb22 Mon Sep 17 00:00:00 2001 From: David Roman Date: Tue, 22 May 2018 23:51:33 +0200 Subject: dev-util/radare2: verbump to 2.6.0 Closes: https://github.com/gentoo/gentoo/pull/8526 --- .../files/radare2-fix-syscapstone-2.6.patch | 34 ++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 dev-util/radare2/files/radare2-fix-syscapstone-2.6.patch (limited to 'dev-util/radare2/files') diff --git a/dev-util/radare2/files/radare2-fix-syscapstone-2.6.patch b/dev-util/radare2/files/radare2-fix-syscapstone-2.6.patch new file mode 100644 index 000000000000..4eb3c053f07a --- /dev/null +++ b/dev-util/radare2/files/radare2-fix-syscapstone-2.6.patch @@ -0,0 +1,34 @@ +From 3752d992f3140806ea1d513739b6f23addf52df1 Mon Sep 17 00:00:00 2001 +From: cc +Date: Tue, 22 May 2018 12:52:12 +0800 +Subject: [PATCH] fix for build with syscapstone + +--- + libr/Makefile | 9 +++++++-- + 1 file changed, 7 insertions(+), 2 deletions(-) + +diff --git a/libr/Makefile b/libr/Makefile +index 05cb40fec7..0b39b48c02 100644 +--- a/libr/Makefile ++++ b/libr/Makefile +@@ -84,13 +84,18 @@ E+=../shlr/bochs/lib/libbochs.${EXT_AR} + #E+=../shlr/sdb/src/libsdb.${EXT_AR} + #endif + ++ifeq ($(USE_CAPSTONE),1) ++E+=$(CAPSTONE_LDFLAGS) ++else ++E+=../shlr/capstone/libcapstone.${EXT_AR} ++endif ++ + libr.${EXT_SO}: .libr + $(CC) -fvisibility=hidden $(MLFLAGS) -shared -dynamiclib -o libr.${EXT_SO} \ + .libr/*.o \ + ../shlr/gdb/lib/libgdbr.${EXT_AR} ../shlr/java/libr_java.${EXT_AR} \ + ../shlr/zip/librz.${EXT_AR} \ +- ../shlr/libr_shlr.${EXT_AR} $(E)\ +- ../shlr/capstone/libcapstone.${EXT_AR} ++ ../shlr/libr_shlr.${EXT_AR} $(E) + + else + -- cgit v1.2.3-65-gdbad