Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 7157913

Browse files
authoredAug 26, 2021
Revert "radare2: update from 4.5.1 to 5.4.0 (#6149)"
This reverts commit e80c863.
1 parent e80c863 commit 7157913

File tree

2 files changed

+25
-4
lines changed

2 files changed

+25
-4
lines changed
 
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
From 6f963691d4cb1ac0458212160ceebda35944e7c3 Mon Sep 17 00:00:00 2001
2+
From: devnexen <devnexen@gmail.com>
3+
Date: Mon, 23 Nov 2020 09:28:36 +0000
4+
Subject: Merge upstream patch for using proper team_id/pid_t
5+
6+
7+
diff --git a/libr/util/sys.c b/libr/util/sys.c
8+
index f2dc348..6dbdc67 100644
9+
--- a/libr/util/sys.c
10+
+++ b/libr/util/sys.c
11+
@@ -1212,7 +1212,7 @@ R_API char *r_sys_pid_to_path(int pid) {
12+
int32_t group = 0;
13+
image_info ii;
14+
15+
- while (get_next_image_info (0, &group, &ii) == B_OK) {
16+
+ while (get_next_image_info ((team_id)pid, &group, &ii) == B_OK) {
17+
if (ii.type == B_APP_IMAGE) {
18+
break;
19+
}
20+
--
21+
2.28.0
22+

‎dev-util/radare2/radare2-5.4.0.recipe ‎dev-util/radare2/radare2-4.5.1.recipe

+3-4
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ able to open disk files, analyzing binaries in several common and less common \
44
formats, disassemble code for several CPU architectures, debug programs, \
55
attach to remote GDB servers, and much more."
66
HOMEPAGE="https://radare.org/"
7-
COPYRIGHT="2007-2021 pancake
7+
COPYRIGHT="2007-2020 pancake
88
2007-2015 Skia
99
2012-2015 pof
1010
2008-2015 nibble
@@ -96,9 +96,9 @@ COPYRIGHT="2007-2021 pancake
9696
2010-2016 Sebastian Reichel"
9797
LICENSE="GNU GPL v3
9898
GNU LGPL v3"
99-
REVISION="1"
99+
REVISION="3"
100100
SOURCE_URI="https://github.com/radare/radare2/archive/$portVersion.tar.gz"
101-
CHECKSUM_SHA256="21ddae80a18d5ceef4bcd3a7cae1ba09d14b510d68ac9134681e1e9967123b23"
101+
CHECKSUM_SHA256="4e85b35987bd2ca5881ad9585970b970fe7374814bd383bd1cd62e961a0c228b"
102102
PATCHES="radare2-$portVersion.patchset"
103103

104104
ARCHITECTURES="!x86_gcc2 x86_64"
@@ -232,7 +232,6 @@ defineDebugInfoPackage radare2$secondaryArchSuffix \
232232
"$commandBinDir"/rahash2 \
233233
"$commandBinDir"/rarun2 \
234234
"$commandBinDir"/rasm2 \
235-
"$commandBinDir"/ravc2\
236235
"$commandBinDir"/rax2 \
237236
"$libDir"/libr_anal.so.$libVersion \
238237
"$libDir"/libr_asm.so.$libVersion \

0 commit comments

Comments
 (0)
Please sign in to comment.