summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Roman <davidroman96@gmail.com>2018-05-22 23:51:33 +0200
committerSergei Trofimovich <slyfox@gentoo.org>2018-05-22 23:00:32 +0100
commitb7a09680926eec8ae56136838943a2f919c9bb22 (patch)
tree83d66c1a860e172d4144ef3715d12db752b58915 /dev-util/radare2/files
parentmedia-gfx/shotwell: Version bump shotwell-0.29.2 (diff)
downloadgentoo-b7a09680926eec8ae56136838943a2f919c9bb22.tar.gz
gentoo-b7a09680926eec8ae56136838943a2f919c9bb22.tar.bz2
gentoo-b7a09680926eec8ae56136838943a2f919c9bb22.zip
dev-util/radare2: verbump to 2.6.0
Closes: https://github.com/gentoo/gentoo/pull/8526
Diffstat (limited to 'dev-util/radare2/files')
-rw-r--r--dev-util/radare2/files/radare2-fix-syscapstone-2.6.patch34
1 files changed, 34 insertions, 0 deletions
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 <longlene@gmail.com>
+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
+