diff options
author | Sergei Trofimovich <slyfox@gentoo.org> | 2019-08-04 18:52:51 +0100 |
---|---|---|
committer | Sergei Trofimovich <slyfox@gentoo.org> | 2019-08-04 18:53:04 +0100 |
commit | d6932537b09df0d86b6e62da1a4750a4bdccc910 (patch) | |
tree | c52f9aea97cffa69e60a9a6deaf518a3ee142bd1 /dev-util/radare2/files | |
parent | app-office/upwork: Cleanup (diff) | |
download | gentoo-d6932537b09df0d86b6e62da1a4750a4bdccc910.tar.gz gentoo-d6932537b09df0d86b6e62da1a4750a4bdccc910.tar.bz2 gentoo-d6932537b09df0d86b6e62da1a4750a4bdccc910.zip |
dev-util/radare2: bump up to 3.7.0
Package-Manager: Portage-2.3.70, Repoman-2.3.16
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
Diffstat (limited to 'dev-util/radare2/files')
-rw-r--r-- | dev-util/radare2/files/radare2-3.7.0-with-syscapstone-p1.patch | 24 | ||||
-rw-r--r-- | dev-util/radare2/files/radare2-3.7.0-with-syscapstone-p2.patch | 22 |
2 files changed, 46 insertions, 0 deletions
diff --git a/dev-util/radare2/files/radare2-3.7.0-with-syscapstone-p1.patch b/dev-util/radare2/files/radare2-3.7.0-with-syscapstone-p1.patch new file mode 100644 index 000000000000..3f87d606bba4 --- /dev/null +++ b/dev-util/radare2/files/radare2-3.7.0-with-syscapstone-p1.patch @@ -0,0 +1,24 @@ +From 8b37ac49b609cc69b27a6b3b76fa9d8d819bae83 Mon Sep 17 00:00:00 2001 +From: pancake <pancake@nopcode.org> +Date: Thu, 1 Aug 2019 05:23:56 +0200 +Subject: [PATCH] Add capstone dependency with the mk + +--- + binr/rabin2/Makefile | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/binr/rabin2/Makefile b/binr/rabin2/Makefile +index 0ecb48629..33219020b 100644 +--- a/binr/rabin2/Makefile ++++ b/binr/rabin2/Makefile +@@ -15,6 +15,6 @@ include ../../shlr/grub/deps.mk + include ../../shlr/bochs/deps.mk + include ../../shlr/qnx/deps.mk + include ../../shlr/ar/deps.mk +-LINK+=../../shlr/capstone/libcapstone.a ++include ../../shlr/capstone.mk + + LDFLAGS+=$(LINK) +-- +2.22.0 + diff --git a/dev-util/radare2/files/radare2-3.7.0-with-syscapstone-p2.patch b/dev-util/radare2/files/radare2-3.7.0-with-syscapstone-p2.patch new file mode 100644 index 000000000000..1ebb74efb36d --- /dev/null +++ b/dev-util/radare2/files/radare2-3.7.0-with-syscapstone-p2.patch @@ -0,0 +1,22 @@ +From 38a10d64fb33484f0e50c3d8f40a6c19c0ee37ec Mon Sep 17 00:00:00 2001 +From: Slava <slava@bacher09.org> +Date: Sun, 4 Aug 2019 04:00:12 +0300 +Subject: [PATCH] Fix build with system capstone (--with-syscapstone) (#14753) + +--- + shlr/capstone.mk | 4 ++++ + 1 file changed, 4 insertions(+) + +diff --git a/shlr/capstone.mk b/shlr/capstone.mk +index b3cc42d24..f1a2de04d 100644 +--- a/shlr/capstone.mk ++++ b/shlr/capstone.mk +@@ -1 +1,5 @@ ++ifeq ($(USE_CAPSTONE),1) ++LINK+=${CAPSTONE_LDFLAGS} ++else + LINK+=$(SHLR)/capstone/libcapstone.a ++endif +-- +2.22.0 + |