diff options
author | Sören Tempel <soeren+git@soeren-tempel.net> | 2018-06-27 17:40:43 +0200 |
---|---|---|
committer | Sören Tempel <soeren+git@soeren-tempel.net> | 2018-06-27 17:40:43 +0200 |
commit | 6c7cdd83eb8533325dbc46b6899b87fc14c8cd2e (patch) | |
tree | c88e13a596a1eefaa3a71e54a7541a485cc3fbad /community/radare2/0001-fix-for-build-with-syscapstone.patch | |
parent | eb6df431e0b2a41e3df419e4bd72948a03d0b6d3 (diff) | |
download | aports-6c7cdd83eb8533325dbc46b6899b87fc14c8cd2e.tar.bz2 aports-6c7cdd83eb8533325dbc46b6899b87fc14c8cd2e.tar.xz |
community/radare2: move from testing
Diffstat (limited to 'community/radare2/0001-fix-for-build-with-syscapstone.patch')
-rw-r--r-- | community/radare2/0001-fix-for-build-with-syscapstone.patch | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/community/radare2/0001-fix-for-build-with-syscapstone.patch b/community/radare2/0001-fix-for-build-with-syscapstone.patch new file mode 100644 index 0000000000..343e6866ef --- /dev/null +++ b/community/radare2/0001-fix-for-build-with-syscapstone.patch @@ -0,0 +1,37 @@ +From 491b989889d6f74ae8ae7a31efae2ffbcacbea53 Mon Sep 17 00:00:00 2001 +From: "longlene@gmail.com" <longlene@gmail.com> +Date: Tue, 22 May 2018 12:52:12 +0800 +Subject: [PATCH 1/4] fix for build with syscapstone + +--- + libr/Makefile | 9 +++++++-- + 1 file changed, 7 insertions(+), 2 deletions(-) + +diff --git a/libr/Makefile b/libr/Makefile +index 05cb40fec..0b39b48c0 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 + +-- +2.17.1 + |